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]
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]
Around line 702 in the:
/includes/classes/order.php
you will see the line:
Here you can check for the products_id with the:Code:$db->Execute("update " . TABLE_PRODUCTS . " set products_quantity = '" . $stock_left . "' where products_id = '" . zen_get_prid($this->products[$i]['id']) . "'");
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!
Thank you so much. I will take a look and let you know how it goes.![]()
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!
sure!![]()
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
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!
Bookmarks