Page 7 of 14 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 136
  1. #61
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Group Pricing Per Item Issue

    It appears there's a piece of code missing in the contribution.

    /includes/classes/shopping_cart.php

    Go to line 1093.
    Copy lines 1093-1101 to clipboard:
    Code:
        if($_SESSION['customer_id']) {
          $customer_group_query = "select gp.group_name
                                    from " . TABLE_CUSTOMERS . " cu
                                    left join " . TABLE_GROUP_PRICING . " gp on cu.customers_group_pricing=gp.group_id
                                   where cu.customers_id = " . $_SESSION['customer_id'];
          if($customer_group = $db->Execute($customer_group_query)) {
            $customers_group=$customer_group->fields['group_name'];
          }
        }
    Go up to line 613 and paste it in there, right after this line
    Code:
        if (!is_array($this->contents)) return 0;
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #62
    Join Date
    Feb 2004
    Posts
    71
    Plugin Contributions
    0

    Default Re: Group Pricing Per Item Issue

    THANK YOU, THANK YOU!

    Working perfect now. Sure appreciate it!

  3. #63
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Group Pricing Per Item Issue

    new issue!

    I have a cart that used this last year and we are gearing up for this year but it no longer shows the group prices. Same files, same database but different server. I've got lots of sites on the new server and have had no problems with any of the zencarts except for the mysql 5 and php5 changes. Everything else in the cart is working fine.

    Anybody got any idea why it wouldn't be working?
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  4. #64
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,371
    Plugin Contributions
    23

    Default Re: Group Pricing Per Item Issue

    well, I fixed the problem by upgrading the cart and putting in the 1.3.8 mod instead and now everything works after putting the shopping cart fix in. I'm going to package it back up and upload it to the contributions section so no one has to worry about this again.
    The full-time Zen Cart Guru. WizTech4ZC.com
    New template for 2.0 viewable here: 2.0 Demo

  5. #65
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Group Pricing Per Item Issue

    Hi All,

    I too just installed this mod to Zen 1.3.8a and I'm having the same issues as knights2!

    I receive the below warning when adding or editing a product in admin and don't see where the other pricing info goes.

    Warning: Invalid argument supplied for foreach() in ...\admin\includes\modules\product\collect_info.php on line 398

    Any thoughts?

    Thanks

  6. #66
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Group Pricing Per Item Issue

    OK,

    It helps if one would finish reading the instruction (It's a guy thing!).

    Once you add the group names (Group A, Group B, ...) to the group pricing module, the warning goes away and the pricing fields display!

    Sorry for the interruption!

  7. #67
    Join Date
    Nov 2004
    Posts
    364
    Plugin Contributions
    0

    Default Re: Group Pricing Per Item Issue

    OK, I have an idea that others may be interested in!

    I would like to add the ability so when a customer is logged in and viewing their group pricing a text label would appear next to their price.

    Ex: Wholesale Price: $19.95

    I guess this could be done a couple of ways...

    1. Either change the Group A define text to the name you wish to display next to the price and add that define in the price display code. (I think this might be the easiest way, but would have to edit files)

    OR

    2. Create a method of adding the price labels within the group pricing admin module independent of the Group A defines, then add this to the price display code. (More user friendly, no files to edit, but more complex)

    Either way, I don't mind doing the work (with help), I just need some suggestions / guidance as to where best to add such a mod and to which files?? I'm marginally familiar with the Zen structure and PHP/MySQL

    May be I could also add code to display the regular non-group price along side the group price (including the text labels) as well!

    Dr. Byte, what do you think?

    Thanks

  8. #68
    Join Date
    May 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Group Pricing Per Item Issue

    Hello,

    Someone posted the thread/question below:

    My discount prices with this mod work fine. However, what isn't working is that for anyone assigned to a group (I just have one group assigned right now - Group A), the Specials I've set are not working properly.

    The Specials are not products that are affected by group pricing - they are separate products.

    For those customers in Group A, the correct price shows up until they go to check out, at which point the price reverts back to the original price, rather than the sale price.


    And I understand that this is how the group pricing was designed to work, but I actually want my Group A/B/ect to receive the sale discount on products for which they are not getting any special Group A/B/etc discount.

    For instance:

    Product 1:
    Regular Price: 10.00
    Sale Price: 8.00
    Group A price: 5.00
    In this case, my Group A customers gets the $5.00 Price. This is OK. No Change required here.

    Product 2:
    Regular Price: 20.00
    Sale Price: 10.00
    Group A Price - Does not exist -> revert to regular price In this case, I want my Group A customers to get the $10.00 Sale Price.

    What files should I change? or where do I start?

    Any help would be greatly appreciated it.

    Thanks!
    Last edited by HappyMom; 1 Sep 2008 at 10:58 PM.

  9. #69
    Join Date
    Feb 2005
    Location
    Captain Cook, Hawaii
    Posts
    179
    Plugin Contributions
    0

    Default Sales tax

    -- Background --

    The owner sells products within the state of Hawaii and most people will pick the items up at her physical address. Some people *may* have the products shipped within the state. Because of shipping costs, no shipments will happen outside the state.

    There will be Retail and Wholesale customers with different prices.

    I have configured this module and all seems fine but... (you knew there was a but coming, right?)

    So I have Retail (regualr Prices) and a new group called WHOLESALE. Wholesale customers will be manually added to the group and will receive the lower price.

    The problem is that Wholesale users pay a lower sales tax than Retail customers. retail tax is 4.1666 percent while Wholesale is .5 percent (point five percent).

    Once I set the customer into the Wholesale group, how can I charge him a different sales tax? (By the way, I created 2 different sales taxes already) but how do I apply it here?
    Aloha from Hawaii! (its a dirty job, but SOMEBODY has to live here...)

  10. #70
    Join Date
    Sep 2007
    Location
    Melbourne Australia
    Posts
    60
    Plugin Contributions
    0

    Default Re: Group Pricing Per Item Issue

    setup two shipping zones / rates

    one zone would be hawaii - retail
    the other hawaii - wholesale

    each zone would have a different tax rate

    just treat it the same as a different state and when the customers are added the correct "zone" needs to be applied,

    hope this helps

 

 
Page 7 of 14 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. 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
  2. Group Pricing (per item) shipping issue
    By giftsandwhatnot in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 19 Aug 2011, 03:56 PM
  3. Group Pricing Per Item - sort products by price issue, suggested code to fix
    By swagmani in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 2 Mar 2011, 04:14 PM
  4. Group Pricing (per Item) Issue
    By daschenbrener in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 8 Jan 2007, 02:42 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