Needs review
Project:
Amazon Store
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
17 Jun 2012 at 12:04 UTC
Updated:
3 Mar 2015 at 04:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
F.G commentedSo after a couple of hours...this code give me the add to cart in my tpl, but with too much informations. Like merchant form....and the ajax message broke my small design.
drupal_get_form('amazon_store_addcart_form', $myasin);So can we add product directly via url and what'is the link ? mysite/amazon_store/cart.php?add=XX&asin=XXX and open the cart in a modal window for example....
regards
Comment #2
rfayI don't think there's any way to add to cart via a GET URL. It wouldn't be a bad idea. It also wouldn't be hard to provide views integration for Amazon Store, but there's none at this point.
Comment #3
F.G commentedthanks rfay,
the add to cart should be a sub module for drupal amazon, with only one ajax button.
default text : add to cart and after a selection, added.
So i let go, it's hard for my knowledge.
Comment #4
willvincent commentedComment #4.0
willvincent commentedmistake
Comment #5
rj commentedThe attached patch includes a views handler that adds the add-to-cart form as a field.