Hi rfay,

We have discussed this before and I am not sure if it is an Amazon Store capability or an Amazon module issue.

Since Amazon module can store test if a product is in Amazon I thought it would also disable the item if it was not available any longer
(or the very least unpublish the item in a way)

I note the example I showed you, which shows an error if the module is no longer available

http://www.mychemistrytutor.com/amazon_store/item/B000LPS9ZM

this item it still listed with Amazon module here

http://www.mychemistrytutor.com/store

so even after a cron and cleared cache the item is still listed

ideally is there a way for the item to be delisted if it is detected that it is no longer available in Amazon

Comments

rfay’s picture

Status: Active » Closed (works as designed)

@bjraines, in this case you have a view of amazon items, in which you have chosen the items. You've created the nodes; They happen to point at amazon_store, but amazon_store is not involved in the creation of the nodes you've made.

I do agree this might be an issue with Amazon module, or a fundamental flaw in the idea of creating a node based on an ASIN. (That's what's going on here)

If you want to pursue it, please take it up with a bug in Amazon Module.

Probably the correct thing is a feature request, requesting that items no longer in Amazon be unpublished or something. It's conceivable that this could be done by cron.

rfay’s picture

Another possiblity that could be done from Amazon Store is to give a friendlier message when you hit the actual item. But that won't deal with the fact that you're showing an item which is not available.

netentropy’s picture

Thanks rfay,

It seems to me that the capability should be there in Amazon as it does have the ability to check for available items on Amazon. I have opened a request there. I did it as support asking if it was possible. If I do not get a response in 2 weeks I will open a feature request.

I understand the developer is a pretty busy developer. I note the updates he has done with the API thought so hopefully they can take a look.
It is beyond my skill level to figure this out.

I do agree though as an interim fix that instead of showing the error message as above, a "this item is no longer found in this store" page would be incredibly useful!

rfay’s picture

Title: Unpublish Amazon item if no longer available » Show friendly error message if user lands on amazon_store/item/XXX and it is no longer available from Amazon.com
Category: support » feature
Status: Closed (works as designed) » Active
rfay’s picture

Status: Active » Fixed

I just added code that checks for validity of the ASIN and Amazon object before using it. Now you get a *relatively* friendly message on landing on an invalid ASIN.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.