Jump to content

Product custom price when add to cart


joseluistim

Recommended Posts

Hello.

 

I want to set product price when adding product to cart, because price depends on a jquery customization in product page.

 

There´s no way to set a product combination because posibilities are "infinite".

 

How can I do this by code? I know I can add a product to cart with this code:

 

controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): ''),

 

but There´s no way to set custom price here.

 

Any help. 

 

Thanks.

Link to comment
Share on other sites

  • 1 month later...

hi

 

I have some problem. Do I need to change all the 'add to cart' process, to affect different price ?

 

There is a combination for my product called 'custom', but every combination is different - depends on customized datas for product.

 

So I need to add them to the cart separatelly.

 

Thanks for any help

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...