News:

Support the VirtueMart project and become a member

Main Menu

restrict custumors to order one cat. or manuf.

Started by edensan, September 07, 2015, 18:08:50 PM

Previous topic - Next topic

edensan

hi all,

I want to make a script that checks if the order is made out of one category or one manufacturer.
i wanna call the script on the confirm button
so confirm checks if there is one or more categories or manufactorers and if that is the fact then echo "pls just order one day(category or manufactorer)per order and checkout before order a new day"

where can i find the confirm button?
i use virtuemart 3 and joomla 2.5.8

grtz Edwin

K&K media production

look for

$this->checkout_link_html

it is inside

views/cart/tmpl/default.php

around line 83