Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Sep 2008
    Posts
    59
    Plugin Contributions
    0

    Default wrong attribute price calculation ?

    I have zen cart 1.3.8 running on a local test site with WinXP and WAMP server (php v. 5.2.6 and mysql v. 4.1.22 and Apache 2.2.8). I have installed the Dual Pricing Module (v. 1.5)

    There is a product with a base price of €2.30
    I added two attribute options with the following settings (check boxes selection):

    Option Name: Dimensions
    Option Value: 8 X 10 cm
    Prefix Price: + 0.0000

    and

    Option Name: Dimensions
    Option Value: 10X12 cm
    Prefix Price: + 5.0000

    So, if I have understood well, I expect that when a customer checks the "8 X 10 cm" attribute, he/she will be charged €2.30, i.e. the base price itself. (regarding the net price of the product)
    When I check both checkboxes (i.e. the customer orders both 8 X 10 cm and 10X12 cm attributes) I would expect that the charges are €2.30 for the 1st product and €7.30 for the 2nd product (i.e. 2.30 € which is the base price plus 5 € which is the attribute price). That makes 9.60 € sub-total.
    Nevertheless, in the cart there is a 7.30 € sub-total only. There is only one product appearing with 7.30 € price, but both dimensions are written on the lower part of the cart.
    I wonder if I have missed something in the logic of product attributes...

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: wrong attribute price calculation ?

    Go back and make this "radio buttons" instead of checkboxes - then only one can be selected.... if there are actually 3 items price by attributes and remove the 2.30 for that item and add it as an attribute also

  3. #3
    Join Date
    Sep 2008
    Posts
    59
    Plugin Contributions
    0

    Default Re: wrong attribute price calculation ?

    and how do I set it up if I want the customer to have the capibility to select multiple attributes at the same time (i.e. use checkboxes), but each selected attribute is actually considered a whole product (e.g. if the customer selects 2 items via checkboxes that each corresponds to a version of the product with specific dimensions, the cart will show 2 products, product1 (8 X 10 cm) at 2.30 €, and product 2 (10X12 cm) at 7.30 € (2.30 base price plus 5.00 attribute price), giving a sum of 9.60 € (net price) just with one click on the "add to cart" button.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: wrong attribute price calculation ?

    Do you allow purchase without the base item?
    As in I only want the 10X12 cm product and not the 8 X 10 cm product

    If so, then as stated, do not include the 2.30 price and make each selecteble via check box and price each appropriately as these is not now a 2.30 to be added upon

  5. #5
    Join Date
    Sep 2008
    Posts
    59
    Plugin Contributions
    0

    Default Re: wrong attribute price calculation ?

    Do you allow purchase without the base item?
    How do I do that ? I have searched in the manual but cannot find this option.
    Also, in case each product version has a unique sku code, can I output this beside each version (i.e. attribute)?

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: wrong attribute price calculation ?

    How do I do that ? I have searched in the manual but cannot find this option.
    Are you asking how to add a product that has no proce but is priced fully by attributes???

    If so, then when entering/editing the product do not enter a price but select the "Product Priced by Attributes:" radio selector
    Also, in case each product version has a unique sku code, can I output this beside each version (i.e. attribute)?
    Not with default code as it is arranged to sell items with additions and not unique items/sku's in a single product.
    You might get the "stock by attributes" 3rd party module by kurio and see what it might afford you.

 

 

Similar Threads

  1. Attribute Pricing Changes with Sale Price-WRONG!
    By MdyBlu in forum Setting Up Specials and SaleMaker
    Replies: 20
    Last Post: 11 Nov 2010, 05:50 PM
  2. calculation wrong
    By stevefriedman71 in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 15 Feb 2008, 06:35 PM
  3. wrong VAT calculation
    By tempestade in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 12 Sep 2007, 12:29 AM
  4. wrong calculation of discount
    By kookiewookie in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 12 Oct 2006, 03:23 PM
  5. Coupon calculation wrong
    By colibri in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 31 Aug 2006, 01:52 AM

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