I can't fine how to workout what in topic Coupon for guest / not registered users . Customers are already difficult to arrive to website , than I don't want to add the difficulty of registering too to use discount
Is it possible anywhere or anyway to set this?
THank you
Sorry I am on vm 2.6.6 on joomla 2-5
A coupon code can be used just with guest registration. No need for full registration.
Thanks for your reply
So that means that the following code I find in following snippet was added by template creator? :°°
All Files templates/flexible_stylemart/html/com_virtuemart/cart/helper.php
$user = VmModel::getModel('user');
if ($user->_id == null || $user->_id == 0) {
return array('coupon_verified_not_logged', 'is_logged');
} else {
$this->cart->couponCode = $coupon_code;
$this->cart->setCartIntoSession();
$msg = JText::_('COM_VIRTUEMART_CART_COUPON_VALID');
return array($msg, 'not_logged');
}
didn't even know you could over ride the helper in the template - - but doesn't exist in core VM2.6
That code does not exist in VM3.0.3 either.