Jump to content

How to add 'id_category_default' to ajax-cart


Himanshu kumar

Recommended Posts

Hi,

 

I want to get the current added product's id_category_default on the blockcart.tpl using ajax so that i can implement the validation like if the product is selected from that particular category then label should be 'proceed to book' else 'proceed to checkout'.

Here i am getting the issue that if i get the variable from blockcart.php like $id_category_default its value does not change after first time reloading the page.

 

How can i fix this..?

 

 

 

 

 

Thanks in advance. 

Edited by Himanshu kumar (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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