Closed (fixed)
Project:
Drupal.org content
Component:
Books listing
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Mar 2022 at 10:42 UTC
Updated:
1 Apr 2022 at 17:19 UTC
Jump to comment: Most recent
About his listing: https://www.drupal.org/node/3266781
The link to Amazon isn't working, someone changed it. Can you please fix it?
Working URL: https://www.amazon.com/Digital-Marketing-Drupal-ultimate-marketing/dp/18...
Comments
Comment #2
avpadernoThere isn't a field for the Amazon purchase link. The only fields are for the ISBN-13 code and the ISBN-10 (or Amazon ID, ASIN) code; the latter is used to build the Amazon purchase links.
It's not possible to edit what shown for the Order from Amazon.com link (
http://www.amazon.com/dp/%20180107189/?tag=drupal0a-20), which is probably output from custom code.Comment #3
avpadernoI see that the feature implementing the content type for book listing has been changed 11 months ago. I cannot say that caused a change in how the Amazon purchase links are built, though.
Looking at the ISBN codes entered for the book, I noticed the ISBN-13 code is a 10-digit code, while the ISBN-10 code is a 9-digit code (and started with a space I removed). It could be that is what causes the wrong Amazon purchase link to be shown. (The link returns a 404 error.)
Comment #4
avpadernoActually,
https://www.amazon.com/dp/1801071896?tag=drupal0a-20andhttps://www.amazon.com/dp/1801071896are correct links.http://www.amazon.com/dp/180107189/?tag=drupal0a-20, shown in https://www.drupal.org/node/3266781 contains a slash between the ISBN-10 code and?tag=drupal0a-20.Comment #5
introfini commentedSomehow the ISBNs were wrong. I've corrected them, and it's working now.
Thanh you very much!
Comment #6
avpadernoNo bug in custom code, then. (I apologize for having moved the issue to the other issue queue.)