Author Topic: Block a product for shipping in certain coutry  (Read 491 times)

thefbi

  • Jr. Member
  • **
  • Posts: 202
Block a product for shipping in certain coutry
« on: April 20, 2021, 11:13:57 am »
Hello,

i try to find a solution to block a product for shipping in Europe. I have a product i cant send to Europe, but i can send in Switzerland.
So i dont want the client can order this product if the address is in France for example.

Is there a way to do this ?

VM 3.8.8 10472
Joomla 3.9.26

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 1129
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Block a product for shipping in certain coutry
« Reply #1 on: April 20, 2021, 11:21:31 am »
Setup shipping plugins only for country Switzerland and without category (new category "Don't Sale outside Swiss" with this product)
For other countries setup only info in cart - we don't sell this product outside Swiss.

basic idea is:
- put this product in new category
- exclude this category from shipping plugins
www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

AH

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3450
  • VirtueMart Version: 3.8.9
Re: Block a product for shipping in certain coutry
« Reply #2 on: April 20, 2021, 12:26:52 pm »
Pretty much what Pinochio says

Setup a a dummy - "swiss only category"

Add this category to the item you want to only ship to switzerland

Now adjust your shipping setup:-

Use this category as a blocking category for all non swiss shipping options

You can ignore this in the swiss shipping option
Regards
A

Joomla 3.9.26
php 7.4

thefbi

  • Jr. Member
  • **
  • Posts: 202
Re: Block a product for shipping in certain coutry
« Reply #3 on: April 20, 2021, 13:30:42 pm »
Hello,

ok, thank you for your answers.

I have to see with alatak because i use HER plugin Pro Shipment, and i dont have such option to exclude categorie. Or i dont know where.
So i will post it here if i have a solution.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10137
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Block a product for shipping in certain coutry
« Reply #4 on: April 20, 2021, 15:10:25 pm »
Quote
I have to see with alatak because i use his plugin Pro Shipment

I have to see with alatak because i use HER plugin Pro Shipment
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

thefbi

  • Jr. Member
  • **
  • Posts: 202
Re: Block a product for shipping in certain coutry
« Reply #5 on: April 20, 2021, 16:44:56 pm »
Ho sorry, my English is not very good.
And if i translate the phrase "Je doit voir avec alatak car j'utilise son plugin Pro shipment" with Deepl for example, it is : "I have to check with alatak because i use his plugin Pro shipment"

Regards.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28131
  • Always on vacation
    • Jenkin Hill Internet
Re: Block a product for shipping in certain coutry
« Reply #6 on: April 20, 2021, 18:33:40 pm »
"son plugin Pro shipment"   or   "sa plugin Pro shipment"
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

thefbi

  • Jr. Member
  • **
  • Posts: 202
Re: Block a product for shipping in certain coutry
« Reply #7 on: April 20, 2021, 18:59:39 pm »
in French, we match the word "son" or "sa" with the name. If the name is masculine, then it will be "son". If the name is feminine, it is "sa".

Example "sa" motorbike
Example "son" horse

It doesn't matter if it's a man or a woman. So it is not the same logic :)

So here, the word "plugin" is masculine.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28131
  • Always on vacation
    • Jenkin Hill Internet
Re: Block a product for shipping in certain coutry
« Reply #8 on: April 21, 2021, 11:29:53 am »
Thanks for that. It is well more than 50 years since I studied French!
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

thefbi

  • Jr. Member
  • **
  • Posts: 202
Re: Block a product for shipping in certain coutry
« Reply #9 on: April 21, 2021, 12:45:17 pm »
Thanks for that. It is well more than 50 years since I studied French!

You are welcome ! And me, 20 years for English :)