| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Separate shipping charge for Wholesale membership | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Separate shipping charge for Wholesale membership
I would like to have a regular shipping charge of $6.95 for non-members and a charge of $8.95 for Wholesale members. I only want one charge to display at checkout depending on which membership. I have set up a shipping method for each charge and used the webmaster mode to determine the shippingid's and membershipid's. I edited the One_Page_Checkout/shipping_methods.tpl with the following code:
Code:
Just below: Code:
This has removed any shipping options from displaying at checkout that do not apply to the particular Membership. The problem I am running into is when the $8.95 option displays for Wholesale customers it is not updating the shipping charge in the Cart Summary which shows $6.95 or preselect the 8.95 shipping option. Any ideas on how to change the $cart.shippingid from 1011 to 1013 and preselect the $8.95 option when a Wholesale member is checking out? X-Cart 4.6.0 using One Page Checkout
__________________
X-Cart Business 5.4 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Separate shipping charge for Wholesale membership
Making this change in the tpl is probably going to be more difficult. We added to the following to func_is_shipping_method_allowable() in include/func/func.shipping.php (after globals):
PHP Code:
|
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Separate shipping charge for Wholesale membership
Thank you Cherie! That worked perfectly.
__________________
X-Cart Business 5.4 |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|