- Posts: 9
- Thank you received: 0
Show Continue Shopping button
14 years 2 months ago #58531
by ictfox
Show Continue Shopping button was created by ictfox
I want to display Continue Shopping button in the Product Options page, is there a way to do this ?
Simply I have an online shop and the shopping cart is displayed in the same page but some products have more than option then the customer will click Choose Options instead of Add to Cart, in the Product Options page I want to show a Continue Shopping button ?
Simply I have an online shop and the shopping cart is displayed in the same page but some products have more than option then the customer will click Choose Options instead of Add to Cart, in the Product Options page I want to show a Continue Shopping button ?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
14 years 2 months ago - 14 years 2 months ago #58540
by Mohamed Thelji
Replied by Mohamed Thelji on topic Re: Show Continue Shopping button
Hello,
I think that you can do it by :
- Going to "Hikashop->Display->Views"
- Editing the show_default file of the product view of your front-end template
- Adding an HTML Continue Shopping button
Hope this will help you.
I think that you can do it by :
- Going to "Hikashop->Display->Views"
- Editing the show_default file of the product view of your front-end template
- Adding an HTML Continue Shopping button
Hope this will help you.
Last edit: 14 years 2 months ago by Mohamed Thelji.
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58600
by nicolas
Replied by nicolas on topic Re: Show Continue Shopping button
Here is an explanation for that:
www.hikashop.com/en/forum/2-general-talk...on-product-page.html
www.hikashop.com/en/forum/2-general-talk...on-product-page.html
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58890
by ictfox
Replied by ictfox on topic Re: Show Continue Shopping button
Many Thanks for your reply but I have a problem that in the english product page I can use the method you mentioned while in the arabic menu page I want to display other image and set another url...
I have tried this code but it didn't work
<?php if($this->direction == 'rtl') : ?>
<div id="hikashop_add_to_cart_continue_div">
<a href="Arabicurl">Order Now</a>
</div>
<?php else : ?>
<div id="hikashop_add_to_cart_continue_div">
<a href="someurl"><img src="\images\continue_order.jpg"></a>
</div>
<?php endif; ?>
Could you pleae help me in this ?
I have tried this code but it didn't work
<?php if($this->direction == 'rtl') : ?>
<div id="hikashop_add_to_cart_continue_div">
<a href="Arabicurl">Order Now</a>
</div>
<?php else : ?>
<div id="hikashop_add_to_cart_continue_div">
<a href="someurl"><img src="\images\continue_order.jpg"></a>
</div>
<?php endif; ?>
Could you pleae help me in this ?
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58912
by nicolas
Replied by nicolas on topic Re: Show Continue Shopping button
The line
<?php if($this->direction == 'rtl') : ?>
is only for joomla template files. For view files you need to do like that instead:
<?php
$lang = & JFactory::getLanguage();
if($lang->isRTL()) : ?>
<?php if($this->direction == 'rtl') : ?>
is only for joomla template files. For view files you need to do like that instead:
<?php
$lang = & JFactory::getLanguage();
if($lang->isRTL()) : ?>
The following user(s) said Thank You: ictfox
Please Log in or Create an account to join the conversation.
14 years 2 months ago #58997
by ictfox
Replied by ictfox on topic Re: Show Continue Shopping button
Its working....Many thanks for your great support
Please Log in or Create an account to join the conversation.
Time to create page: 0.258 seconds