VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Coding Central => Topic started by: edensan on September 07, 2015, 18:08:50 PM

Title: restrict custumors to order one cat. or manuf.
Post by: edensan on September 07, 2015, 18:08:50 PM
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
Title: Re: restrict custumors to order one cat. or manuf.
Post by: K&K media production on September 08, 2015, 21:12:32 PM
look for

$this->checkout_link_html

it is inside

views/cart/tmpl/default.php

around line 83