Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author    Topic »  

gemsbodyjewellery
Ecommerce Template Guru

United Kingdom
1283 Posts

Posted - 02/11/2025 :  02:38:24  
I can ship my products internationally but only on trade basis (ie B2B) not direct to consumer.

I need a way to allow international shipping for wholesale but not for retail. How can I do that?

Vince
Administrator

42878 Posts

Posted - 02/12/2025 :  01:17:03  
Hi Gemma
This isn't a feature of the cart but can you try this in your includes.php file and see if it does the trick...

if(@$_POST['mode']=='go'&&@$_POST['country']!='1'&&(@$_SESSION['clientID']==''||(@$_SESSION['clientActions']&8)!=8)){
print '<div style="margin:50px;text-align:center">International only for trade customers</div>';
$_POST['mode']='';
}

Of course, changing the message to something by the marketing department.
And please test a lot and if it doesn't work, take it out and let me know.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

gemsbodyjewellery
Ecommerce Template Guru

United Kingdom
1283 Posts

Posted - 02/12/2025 :  02:04:22  
Thank you. I will have an experiment next week when I have more time.
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000