Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34
  1. #11
    Join Date
    Feb 2009
    Posts
    33
    Plugin Contributions
    0

    Default Re: Buying into a membership group and discount pricing per item.

    I know this is off subject, but i need to ask a question and i can't find the post button or how to start a post at all! I am know for not spotting things in plain site ;P

    If you can help me, please message me at [email protected]
    Sister Secrets
    Made for every sister in the world!
    http://sistersecrets.net

  2. #12
    Join Date
    Nov 2007
    Location
    oregon
    Posts
    70
    Plugin Contributions
    0

    Default Re: Buying into a membership group and discount pricing per item.

    Quote Originally Posted by Ajeh View Post
    You can customize the purchases on the orders class where the stock is adjusted and when someone buys a given product they are added to a Group ...

    You can also customize the function for adding to the cart to disable the ability to buy a Product based on the fact it was already purchased so someone cannot buy twice ... if that is needed ...
    could you point us to directions on adding someone to a discount group after purchasing a product. Using the latest zen cart.

  3. #13
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Buying into a membership group and discount pricing per item.

    Around line 702 in the:
    /includes/classes/order.php

    you will see the line:
    Code:
              $db->Execute("update " . TABLE_PRODUCTS . " set products_quantity = '" . $stock_left . "' where products_id = '" . zen_get_prid($this->products[$i]['id']) . "'");
    Here you can check for the products_id with the:
    zen_get_prid($this->products[$i]['id'])

    If the products_id matches the products_id on the Product for the membership you can then update the table for:
    customers

    and the field for:
    customers_group_pricing

    for the customers_id from:
    $_SESSION['customer_id']
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #14
    Join Date
    May 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Buying into a membership group and discount pricing per item.

    Thank you so much. I will take a look and let you know how it goes.

  5. #15
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Buying into a membership group and discount pricing per item.

    You are most welcome ... let us know what customizations work best for you to manage this ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #16
    Join Date
    May 2006
    Posts
    89
    Plugin Contributions
    0

    Default Re: Buying into a membership group and discount pricing per item.

    sure!

  7. #17
    Join Date
    Sep 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Buying into a membership group and discount pricing per item.

    I have a buy once - forever in group membership, I use the Group Pricing per item mod giving 2 groups of members 100% free products.

    It works fine, except now I have 2 categories that I don't wish the group members to receive free but to purchase at the normal price.

    When I price items for group members to receive free I use

    Group B Price (Net): 0.0001
    Group B Price (Gross): 0.0001
    Group A Price (Net): 0.0001
    Group A Price (Gross): 0.0001

    Now with the 2 categories I wish for them to purchase I have tried

    Group B Price (Net): 0.0000
    Group B Price (Gross): 0
    Group A Price (Net): 0.0000
    Group A Price (Gross): 0


    and even putting the actual price to no avail.

    Either way it shows unit price/subtotal on 'Your Shopping Cart Contents' page, but when I go to checkout it shows discount of 100%

    Does anybody know how I can fix this please?
    Thank you in advance

  8. #18
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Buying into a membership group and discount pricing per item.

    That is what the Group Discount does ...

    It takes all of the Products ordered and applies the Discount for that Group ... in this case 100% ... to all of the products ...

    To have it behave otherwise, you will really be needing to customize the code to work with exclusions and exceptions to the concept of the "over all discount" that Group Discount was built to support ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  9. #19
    Join Date
    Sep 2008
    Posts
    33
    Plugin Contributions
    0

    Default Re: Buying into a membership group and discount pricing per item.

    Quote Originally Posted by Ajeh View Post
    That is what the Group Discount does ...

    It takes all of the Products ordered and applies the Discount for that Group ... in this case 100% ... to all of the products ...

    To have it behave otherwise, you will really be needing to customize the code to work with exclusions and exceptions to the concept of the "over all discount" that Group Discount was built to support ...
    ohh pooh lol thank you for reply I understand

  10. #20
    Join Date
    Feb 2008
    Location
    Philadelphia
    Posts
    287
    Plugin Contributions
    3

    Default Re: Buying into a membership group and discount pricing per item.

    Quote Originally Posted by Ajeh View Post
    You are most welcome ... let us know what customizations work best for you to manage this ...
    Quote Originally Posted by Ajeh View Post
    Around line 702 in the:
    /includes/classes/order.php

    you will see the line:
    Code:
              $db->Execute("update " . TABLE_PRODUCTS . " set products_quantity = '" . $stock_left . "' where products_id = '" . zen_get_prid($this->products[$i]['id']) . "'");
    Here you can check for the products_id with the:
    zen_get_prid($this->products[$i]['id'])

    If the products_id matches the products_id on the Product for the membership you can then update the table for:
    customers

    and the field for:
    customers_group_pricing

    for the customers_id from:
    $_SESSION['customer_id']
    Not to be obtuse but can you spell this out a little better as to what the lines would actually be to code this? Such that all I'd need is the product ID? Likely simple but I am at a loss.

 

 
Page 2 of 4 FirstFirst 1234 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 - Order of prices and Suffix
    By RFree190 in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 11 Apr 2010, 09:55 PM
  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) and Coupon Bug
    By HappyMom in forum Bug Reports
    Replies: 9
    Last Post: 6 Jan 2007, 06:33 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