News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Checkout Product Condition

Started by fabioweb, November 25, 2017, 02:19:37 AM

Previous topic - Next topic

fabioweb

Hello forum! with a third party plugin i'm managing "Private" and "Company" conditional fields..
In addition i can tell you that this fields are not related to any Shopper group so if a user is registered under "Private" or "Company" will be assigned into the same shopper group..

In this way i need to know if is possible to restrict checkout of some product only to "Private" user and others product to "Company" user

Example in my attachment the product should be bought only from private.. So if radio button "Company" is active how can i block the checkout?

V.M 3.2.4

Best regards



GJC Web Design

this is what Shopper groups are for so would it not be better to code something that joins them to the correct SG?  There is a plugin for this somewhere

Otherwise you have to do some quite heavy coding to get the user status and filter your products with the result
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