News:

Looking for documentation? Take a look on our wiki

Main Menu

No message when no shipment or payment is selected

Started by Remy, October 10, 2012, 16:33:57 PM

Previous topic - Next topic

Remy

It seems like there is no way of displaying a message that the user has not selected a payment or shipment option and wants to continue. It just refreshes the page but there is no indication of what you're doing wrong. I found the code that returns the user to the same page in '../components/com_virtuemart/helpers/cart.php' starting on line 818 but when I replace the code $redirectMsg = ''; with something like $redirectMsg = 'This is a test'; it always shows 'This is a test' even if you are on the page for the first time.

bytelord

Hello,

COM_VIRTUEMART_CART_NO_PAYMENT_METHOD_PUBLIC, COM_VIRTUEMART_CART_NO_PAYMENT_SELECTED, COM_VIRTUEMART_CART_NO_SHIPPING_METHOD, COM_VIRTUEMART_CART_NO_SHIPPING_METHOD_PUBLIC

Isn't enough?

Regards
Production: Joomla 2.5.8 | VM 2.0.14 | PHP 5.3.13
Testing     : Joomla 2.5.8 | VM 2.0.16 | PHP 5.3.8
Testing     : Joomla 2.5.8 |    VM 2.1   | PHP 5.3.8

- Don't Forget to mark thread as solved when it is solved!
- Please do not PM with support questions, use the forum!