Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2007
    Posts
    13
    Plugin Contributions
    0

    Default Group Pricing (Per Item)

    I know theres another post regarding this.

    The Group Pricing Mod for 1.3.7 has a bug, and I was curious if anyones fixed this.

    Im using the 1.2.1a version.

    On the actual page, it shows up as normal retail price....ONLY when you add the item to your shopping cart is when the new price is updated.

    I was curious if anyones fixed the bug so the new prices will reflect on the actual product page.

    Thanks in advance!

  2. #2
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: Group Pricing (Per Item)

    I am having the same problem. I used the shopping_cart.php fix for the subtotal page. But it is still showing up on the Product Page as the regular price...

    anyone know what to do?

  3. #3
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Group Pricing (Per Item)

    Has anyone seen this fix for this yet? My Group A and B works fine (correct price is displayed) but C and D do not(normal price is displayed).

  4. #4
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Group Pricing (Per Item)

    Here is the fix:

    Find line 131 in /includes/functions/functions_prices.php which looks like this:

    Code:
    // is there a products_price to add to attributes
          if($customers_group) {
            if($customers_group == "Group A" && $product_check->fields['products_group_a_price'] != 0) {
              $products_price = $product_check->fields['products_group_a_price'];
            } elseif($customers_group == "Group B" && $product_check->fields['products_group_b_price'] != 0) {
              $products_price = $product_check->fields['products_group_b_price'];
            } elseif($customers_group == "Group C" && $product_check->fields['zen_products_group_c_price'] != 0) {
              $products_price = $product_check->fields['products_group_c_price'];
            } elseif($customers_group == "Group D" && $product_check->fields['zen_products_group_d_price'] != 0) {
              $products_price = $product_check->fields['products_group_d_price'];
    As you can see the sql select for group c and d have 'zen_' already in the code thus the select statement is zen_zen_products_group_d_price when it should be zen_products_group_d_price assuming your table prefix is zen_ .. the fix is:

    Code:
    // is there a products_price to add to attributes
          if($customers_group) {
            if($customers_group == "Group A" && $product_check->fields['products_group_a_price'] != 0) {
              $products_price = $product_check->fields['products_group_a_price'];
            } elseif($customers_group == "Group B" && $product_check->fields['products_group_b_price'] != 0) {
              $products_price = $product_check->fields['products_group_b_price'];
            } elseif($customers_group == "Group C" && $product_check->fields['products_group_c_price'] != 0) {
              $products_price = $product_check->fields['products_group_c_price'];
            } elseif($customers_group == "Group D" && $product_check->fields['products_group_d_price'] != 0) {
              $products_price = $product_check->fields['products_group_d_price'];

  5. #5
    Join Date
    Jun 2005
    Posts
    35
    Plugin Contributions
    0

    Default Re: Group Pricing (Per Item)

    This does not work for me. I am still see same price cross the groups after login. But when I add the items in the cart, it stay the same number. Only on checkout confirmation page, the discounted amount shows. It seems my issue are diff than you guys.

    Any clue? I am on 1.3.7 version with few MODs on.

  6. #6
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Group Pricing (Per Item)

    You may want to review this thread - I needed it for my system to work correctly:

    http://www.zen-cart.com/forum/showthread.php?t=60119

  7. #7

    Default Re: Group Pricing (Per Item)

    That worked for me! Thanks!

    I was having that problem with group c and d not getting the correct pricing. it was because of the "zen_" in my functions_prices.php

    I opted to not go with the "zen_" in my db.

  8. #8
    Join Date
    Jun 2007
    Posts
    4
    Plugin Contributions
    0

    Default Re: Group Pricing (Per Item)

    Just to make sure i was clear the fix above works no matter your table prefix (or lake there of).

 

 

Similar Threads

  1. Group Pricing per Item w/ v1.3.9
    By noodle in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 1 Apr 2012, 02:48 PM
  2. online group pricing vs group pricing per item working with sale maker
    By giftsandwhatnot in forum Addon Payment Modules
    Replies: 1
    Last Post: 24 Oct 2011, 09:22 AM
  3. How to make an item Free in Group Pricing (Per Item)?
    By lyricwings in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 1 Sep 2008, 09:41 PM
  4. Group pricing per item
    By luomu in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 10 Feb 2007, 08:45 PM

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