Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    189
    Plugin Contributions
    0

    Default text attribute price isn't added to overall price when product added to cart

    Hello,

    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.

    Dan

  2. #2
    Join Date
    Sep 2005
    Posts
    189
    Plugin Contributions
    0

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

 

 

Similar Threads

  1. v151 When products are added to cart, price goes to zero ($0)!
    By Feznizzle in forum General Questions
    Replies: 12
    Last Post: 24 Oct 2013, 03:55 PM
  2. Product unit price doubled when added to shopping cart
    By capncrunch0 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 13 Nov 2012, 12:48 AM
  3. Base Price being added to Attribute Price
    By My_Red_Zebra in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 13 Jun 2012, 02:12 AM
  4. Need help...Sale price changes when added to cart
    By klhess in forum Setting Up Specials and SaleMaker
    Replies: 0
    Last Post: 24 Oct 2010, 04:18 PM
  5. Sale Price when Listed but not When Added to Cart
    By Mang in forum General Questions
    Replies: 3
    Last Post: 31 Mar 2007, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR