Author Topic: Allow only one order per customer  (Read 219 times)

vlopez

  • Beginner
  • *
  • Posts: 22
Allow only one order per customer
« on: May 30, 2019, 02:05:33 am »
Virtuemart 3.4.2 Joomla 3.9.6
We use Virtuemart in a peculiar way. We have adapted it to serve as a system for borrowing textbooks for a year. Only registered customers can request textbooks.
Now we have the need to limit to 1 the number of orders that the same customer can make. Is it possible to set this limit?
Thank you.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 8891
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.4.2
Re: Allow only one order per customer
« Reply #1 on: May 30, 2019, 17:20:25 pm »
would need some code probably in the cart helper to limit .. there's no setting
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