News:

Support the VirtueMart project and become a member

Main Menu

Products exclude for specific countries

Started by Edgar68, March 08, 2016, 09:56:39 AM

Previous topic - Next topic

Edgar68

Hello,

we have got a website/shop for cheese (Holland)
Now there is a problem.

We sell several cheeses, Dutch Cheeses which are not have be cooled transported.
But also foreign cheese which have to be sent cooled.
In Holland it is not a problem. We can guarantee the temperature.
But cooled transport in the rest of the world is is a problem.

Now we know it is possible to excludes counties for buying our products.
But is it also possible to exclude products for countries?

Example
Product A could be bought in Holland but not in the rest of the world.
Product B could be bought in the whole world.


GJC Web Design

perhaps collect the "fresh" cheeses into one category (hidden unpublished even) and restrict this cat just to local Dutch shipping
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 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
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Studio 42

I think that you can use a vmcustom plugin. So you can prevent add to cart when country is not Dutch.
You need perhaps to add a second plugin when the user change country after in cart. I'm not sure if product plugin can check for country change in cart.
I don't think that you can full solve this with core functionnality.

ste-jackson

I have the same problem as my customer wants different products for different countries, 1 thought I had on it was is there no way to unpublish and publish products based on language as with a multilanguage VM shop you can have different titles and descriptions etc is it therefore not possible to have a published product or category for english /en/ and it not to be published on german /de/ for arguements sake.

Studio 42

Hi ste-jackson,
The main developper say, it's bad to do this. But you can do it(only products) and i find myself, it's not "so" bad.
How to solve it in VM3 : http://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html and the setting is prodOnlyWLang
Topic about this problem and explains : http://forum.virtuemart.net/index.php?topic=134899.0
Tool to remove language from a product and more : http://shop.st42.fr/en/products/vm-be-pro-batch-product-edit.htm (write by me)
Regards,
Patrick