Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    190
    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
    190
    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. Don't Want Attribute Prices Automatically Added to Product Price
    By fortun3 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 18 Dec 2012, 12:00 AM
  2. 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
  3. dont want attribute to be added with price
    By jrod31 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 16 Apr 2010, 07:36 PM
  4. Can I make the price drop when item is added to cart?
    By manutd98 in forum General Questions
    Replies: 6
    Last Post: 24 Nov 2008, 09:33 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
  •