It would be great to be able to add custom annotations to arbitrary Amazon products, much like this is done through the AStore widget. Basically, the module user (a content editor, for example) would provide his or her custom annotation to the product in question and have it displayed right before the original description (the placement could also be configurable).

I would use the AStore widget, but I just love the cleanliness of this module.

Comments

rfay’s picture

Status: Active » Closed (won't fix)

I don't agree this this is something to add to this module.

jerdavis’s picture

Hi Randy,

Can you elaborate on your decision a bit? Is this complicated? Is there no API to pull that info? We're looking at possibly using this module to convert a current aStore where annotations are being used. I'm just starting to look at whether or not we can access the aStore's index nodes and annotations when I came across this. Assuming the changes to support these things were possible we were hoping to do them and contribute them back.

All that said, I'd like to know what prompted your comment above before we commit a lot of time to find out this is either not possible or that the contribution wouldn't be added.

Jeremiah

jerdavis’s picture

Status: Closed (won't fix) » Active
rfay’s picture

There is currently no storage of any kind in Amazon Store for products. This would entail a major change, adding permanent storage (per user) of product information.

If somebody were to develop this as an add-on, I'd consider it. From where I stand it would just make the module cluttered with a feature that adds significant complexity and has only been requested by one person (I guess two now :-)

jerdavis’s picture

I haven't been able to fully investigate this yet, but aStore allows you to add custom text/descriptions to products on Amazon itself, so it's not really a matter of local storage and modification in Drupal - assuming the APIs can access this info. The little bit of investigation I did today seemed to indicate that this may not be exposed to an API, it's not clear yet.

Thanks for the update - that helps me understand your point of view on this a bit more. I'll let you know what I find out.

rfay’s picture

Adding annotations on Amazon would require that the user's Amazon ID be known, I believe. The API doesn't know that.

00trav’s picture

Maybe I don't fully understand your use case, but why not use the ASIN field in D7?

You can add whatever information you want to an 'item' node and then configure the display anyway you like with panels.

A more complex method would be to have a ref back to a node containing the info. I had one project where I had a very large database and we wanted to add notes to certain records without making each record a node (for performance reasons). We created a custom module that pulled and displayed records (think similar to the amazon module here) and then created a lookup upon display to tie the limited number of records with additional info to the drupal nodes which contained the additional notes.

rfay’s picture

@00trav you want per-user data, right? The asin field is per-product., and it's also part of Amazon module and not used by Amazon Store.

rfay’s picture

Status: Active » Closed (won't fix)

Maybe somebody with more ambition than I have will come along, but I don't see a way to do this.