Jump to content

Add custom variable to product andd access it later in the invoice


chillermiller

Recommended Posts

Hello everybody,

 

I want to add a custom variable to my product, which is modifieable in product-list.tpl and product.tpl. Later in the shopping cart and invoice, it will be added to the description as well. As far as I know, i have to do this by overwriting this function in ajax-cart.js:

ajaxCart.add($('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null, 'white');

How do I display for example my variable 'white' in my shopping-cart.tpl?

 

Any hints how to accomplish this?

Edited by chillermiller (see edit history)
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...