Jump to content

Directly adding product attribute to cart


Zenith

Recommended Posts

I'm trying to add an "Add to Cart" link that will directly add a specific attribute to the cart but not having any luck so far.

 

I've tried:

 

{$link->getPageLink('cart.php')}?add&id_product={$order.id_product|intval}&id_product_attribute={$order.id_product_attribute|intval}

 

But this just seems to add the default attribute instead.

 

Any help guys ??

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...