Too Cool Posted April 18, 2013 Share Posted April 18, 2013 I cant find where is the variable that holds the price of the product when it adds it to the cart Link to comment Share on other sites More sharing options...
vekia Posted April 18, 2013 Share Posted April 18, 2013 it's based on the sql queries, so the price is from query, not from variable Link to comment Share on other sites More sharing options...
Paul C Posted April 18, 2013 Share Posted April 18, 2013 Here's a little tip. In 1.5.x Go to the "Advanced Parameters->Performance" Menu option. In the first section under the "Cache" On/Off option there is a set of radio buttons for "Debug Console". Enable the one that says "Always Open Console" and Save. When you navigate to your product page you'll see every variable that's set. The price is in there. Unfortunately you won't know what the actual cart total will be unless you can also read the Quantity input by the user, To do that you're either going to have to do the calculation in Javascript or write a handler. It would be a good idea to outline what you're trying to achieve as that makes helping you a lot easier.... Link to comment Share on other sites More sharing options...
avasconcelos Posted May 10, 2013 Share Posted May 10, 2013 it's based on the sql queries, so the price is from query, not from variable And in which file is made the query that returns the product price before assign it to the cart? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now