[SOLVED] Continue shopping during checkout

  • Posts: 20
  • Thank you received: 0
12 years 5 months ago #52305

Hi,
is there any way to move the button to continue shopping during the check-out process from the bottom to the top of the page?
Thanks
Claudio

Last edit: 12 years 5 months ago by tebba.

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52344

Hi,

You can edit the file "step" of the view "checkout" via the menu Display->Views and move the block of code displaying the button at the top.

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
12 years 5 months ago #52352

thank you Nicolas!

I moved this code


<?php
echo $this->cart->displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this->params,JRoute::_($this->continueShopping),'window.location=\''.JRoute::_($this->continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"');
echo "<br><br>";
?>

just below the initial section of the file

<?php
/**
* @package HikaShop for Joomla!
* @version 1.5.7
* @author hikashop.com
* @copyright (C) 2010-2012 HIKARI SOFTWARE. All rights reserved.
* @license GNU/GPLv3 www.gnu.org/licenses/gpl-3.0.html
*/
defined('_JEXEC') or die('Restricted access');
?>
>>>>>>>>>>>> HERE <<<<<<<<<<<<<<<<<<<<


The button is now in the correct position but when I click it I always return to the 2nd step of my checkout process (that is "address" in my case) and not to the page defined in the settings to continue shopping.

Any idea?

thanks

Last edit: 12 years 5 months ago by tebba.

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52398

I don't know. That out to work. Could you give a link to your shop so that we ca see the modification ?

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
12 years 5 months ago #52445

The button is now on the top as where I want it to be:



The problem is that when I push it from any stage of the checkout process (login excluded) I'm redirected to the address page and not to the shop.

Thanks

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52515

Could you give a link to your shop so that we ca see the modification ?

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
12 years 5 months ago #52533

I sent you a PM
thanks

Please Log in or Create an account to join the conversation.

  • Posts: 82821
  • Thank you received: 13368
  • MODERATOR
12 years 5 months ago #52585

The problem comes from the option "URL of the continue button" of the configuration. You entered there: "compra-on-line"
But you need to enter there the URL...with http : //

Please Log in or Create an account to join the conversation.

  • Posts: 20
  • Thank you received: 0
12 years 5 months ago #52610

it works!

I do not know why it was working without the correct link before moving the button over the checkout bar. That's why I didn't try to change the URL before.

Thanks Nicolas
rgds
Tebba

Last edit: 12 years 5 months ago by tebba.

Please Log in or Create an account to join the conversation.

Time to create page: 0.079 seconds
Powered by Kunena Forum