Author Topic: Need fix for & issue on edit_address.php  (Read 717 times)

torres86

  • Beginner
  • *
  • Posts: 2
Need fix for & issue on edit_address.php
« 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:

Code: [Select]
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

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

line 119

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

Code: [Select]
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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10017
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Need fix for &amp; issue on edit_address.php
« Reply #1 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

I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/