View Single Post
  #2  
Old 04-18-2017, 04:51 PM
 
Local Hero Local Hero is offline
 

Senior Member
  
Join Date: May 2004
Location: UT
Posts: 121
 

Default Re: Changing Price through HTML Links

I have a custom product store and I've made a designer page (outside of X-Cart) that will calculate the price based on many variables. In X-Cart 4, I could send code to the cart like this:
Code:
GET /store/cart.php?mode=add&productid=17648&price=24&product_options[458]=HTRH&product_options[459]=HTR&product_options[460]=Acme%20Regular&product_options[461]=&product_options[462]=Acme%20Regular&product_options[463]=Black&product_options[464]=&product_options[465]=No&product_options[466]=LocalHero&product_options[467]=No%20Logo%20File%20Uploaded&product_options[468]=Adult/Youth&product_options[469]=White%20Jersey&product_options[470]=No&product_options[471]=&product_options[472]=http://www.localheromx.com/jersey/image/savedImage/htr-24-882.png&amount=1
This would fit nicely in X-Cart 4. But when I try something similar in X-Cart 5, the "price=24" does not work. It defaults to the price in the cart, even if the price is set to $0.00.

How do I change the price in X-Cart 5?
__________________
X-Cart version 4.4.5
X-Cart version 5.3.2.8
Reply With Quote