VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: torres86 on June 03, 2013, 03:29:55 AM

Title: Need fix for & issue on edit_address.php
Post by: torres86 on June 03, 2013, 03:29:55 AM
OK, so I've figured out how to solve the problem on cart.php in getting the redirect URLs to stop converting the "&" to "&" by doing the following:

redirect(JRoute::_('index.php?option=com_virtuemart&view=cart', false)

However, now to fix this bug on other pages that lead to completing a purchase such as edit_address.php. For instance, when a user goes to enter and save their address information, click on the save button results in the "& problem." I'm sure this is a quick fix, but I'm not overly proficient in PHP, and have been hacking at this for a while now. I'm guessin the problem lies somewhere either here:

line 31

$url = JRoute::_ ('index.php?option=com_virtuemart&view=cart&task=checkout', $this->useXHTML, $this->useSSL);

or

line 119

onclick="window.location.href='<?php echo JRoute::('index.php?option=com_virtuemart&view=' $rview); ?>'"><?php echo JText::('COM_VIRTUEMART_CANCEL'); ?></button>

or line 130

onclick="window.location.href='<?php echo JRoute::('index.php?option=com_virtuemart&view=' $rview); ?>'"><?php echo JText::('COM_VIRTUEMART_CANCEL'); ?></button>

Any suggestions? Thanks!
John
Title: Re: Need fix for &amp; issue on edit_address.php
Post by: Milbo on June 03, 2013, 21:20:04 PM
http://forum.virtuemart.net/index.php?topic=115877.0

version b
fixed images of related products, if image is set on parent
using the value default on agree is autosetting add to cart
removed &amp: from links
and more