Is it possible to have those who are in group pricing receive free shipping if they spend over a certain amount? but only if they are in a certain zone!
Is it possible to have those who are in group pricing receive free shipping if they spend over a certain amount? but only if they are in a certain zone!
Are you using any of the Free Shipping modules now, such as the Free Shipping Option freeoptions ...
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!
it is in the modules but not installed it yet.
What you could do is build a Zone Definition for the Free Shipping Options ...
Then, set the Total to >= XX.XX for the amount that must be used ...
Then, customize the shipping module to check the customer's group and see if they are allowed the shipping choice ...
Now, you should also consider that if the customer is not logged in the module will not show until they login and if they are in the customer group and if the amount is >= Total ...
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!
Then, customize the shipping module to check the customer's group and see if they are allowed the shipping choice ...
any clues....
Let's say you want to limit the Free Shipping Options freeoptions to customers in group 1 ...
You can change the code to:
Code:// disable only when entire cart is free shipping if (zen_get_shipping_enabled($this->code)) { $this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false); } // bof: limit to 1 customers_group_pricing $group_query = $db->Execute("select customers_group_pricing from " . TABLE_CUSTOMERS . " where customers_id = '" . (int)$_SESSION['customer_id'] . "'"); if (!IS_ADMIN_FLAG && $group_query->fields['customers_group_pricing'] != '1') { // do not show $this->enabled = false; } // eof: limit to 1 customers_group_pricing
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!
got it to work with group pricing, however, i can't get it to work by weight, am i doing something wrong,
I want shipping to be free if order is over £50 but less than 2Kg in weight
Weight is not truely pounds or Kg ...
Is your whole site in Kg?
You should use:
Total >= 50.00
Weight <= 2.00
To make these settings run together, you need to customize one more section of the code ...
Currently, the module is written for Total OR Weight OR Count ...
try changing to be:Code:// final check for display of Free Options if ($this->ck_freeoptions_total or $this->ck_freeoptions_weight or $this->ck_freeoptions_items) {
Code:// final check for display of Free Options if ($this->ck_freeoptions_total and $this->ck_freeoptions_weight and $this->ck_freeoptions_items) {
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!
Hi there - I appreciate your suggestions here; I think it is close to what I wish to do. Basically one of my merchants wants to reverse this scenario and only offer free shipping options to regular shoppers and NOT anyone in the special customer group. (The customer group represents wholesale buyers.)
Is it possible that I could reverse the "false" setting to be "true" in your code suggestion?
Reverse the logic so anyone in Group 1 cannot see the Free Options:
Code:if (!IS_ADMIN_FLAG && $group_query->fields['customers_group_pricing'] == '1') {
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