Could someone please tell me whereroductsID on line 95 is defined?
Could someone please tell me whereroductsID on line 95 is defined?
What I am trying to do is to include a new attribute to the shopping cart. I have 4 attributes that list automatically on the shopping cart. I added a new one in the db but it is not showing up. So, I am trying to find where attributes are defined in the code to test what is going on.PHP Code::ProductsID
Last edited by tiffbrink; 25 Feb 2013 at 09:34 PM.
Any reason why you are looking for this?
It's probably in /includes/modules/pages/shopping_cart/
20 years a Zencart User
It is retrieved from the database depending on what product page you are on
What I am trying to do is to include a new attribute to the shopping cart. I have 4 attributes that list automatically on the shopping cart. I added a new one in the db but it is not showing up. So, I am trying to find where attributes are defined in the code to test what is going on.
Yes, that is where I got the codefrom. I am not familiar with this colon syntax and it doesn't tell me where it is defined.PHP Code::ProductsID
That's a placeholder in the query, which is replaced in the next line of code where the query is run thru bindVars() for sanitization and is substituted for the properly sanitized input. The parameters passed to bindVars() will show you what each placeholder is replaced with.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.