text attribute price isn't added to overall price when product added to cart
I ran into an odd problem.
I have a product for which there are number of attributes. Two are text attribute -- one free and one priced at a 15 USD). When entering text in respective entry fields, and adding the prodicut to the basket, the 15 USD cost is NOT added along with the proucts base price.
Attribute defintion for text look OK. I can't think of any reason why this doesnt work.
any suggestions would be much appreciated.
Re: text attribute price isn't added to overall price when product added to cart
After some debugging i managed to find the problem.
Interestingly, the customer had defined an attribute values for the option name of type text. Apparently, the code requires that no! attribute value is defined for option names of type text, and hence the attribute value id for option names of type text is by default recorded as zero in all respective table records (in particular the products_attributes table). Without the zero id value the price information for the attribute is not retrievable via the join operation included in the code -- which specifically tests for option_value_id of zero.
By fortun3 in forum Setting Up Categories, Products, Attributes
Last Post: 18 Dec 2012, 12:00 AM
By klhess in forum Setting Up Specials and SaleMaker
Last Post: 24 Oct 2010, 04:18 PM
By jrod31 in forum Setting Up Categories, Products, Attributes
Last Post: 16 Apr 2010, 07:36 PM
By manutd98 in forum General Questions
Last Post: 24 Nov 2008, 09:33 PM
By Mang in forum General Questions
Last Post: 31 Mar 2007, 03:06 AM
Content and Graphics Copyright (c) 2003 - 2013 Zen Ventures, LLC - all rights reserved
Zen Cart® is a Registered Trademark of Zen Ventures, LLC