Plus Shipping link

01.11.2011 13:19
#1
Onofrei
Joomshopping forum user no avatar
Name: Mihai-Codrut
06.03.2011
Posts: 55
Quote
Plus Shipping link

Hello,

Right now the "plus Shipping" link opens in a new window. Can it open in modal/ lightbox?

Regards

 
02.11.2011 10:39
#2
Onofrei
Joomshopping forum user no avatar
Name: Mihai-Codrut
06.03.2011
Posts: 55
Quote
Aw: Plus Shipping link

No idea?

 
12.04.2013 03:15
#3
pinochico
Joomshopping forum user no avatar
Name: Rudolf Balas
08.06.2012
Posts: 11
Quote
Aw: Plus Shipping link

Hi,

you can use the same as for return policy:

find these files on the
- component/templates/default/cart/cart.php
- component/templates/default/list_products/product.php
- component/templates/default/product/product_default.php


and change this code

<span class="plusshippinginfo"><?php print sprintf(_JSHOP_PLUS_SHIPPING, $this->shippinginfo);?></span>

into

<div class="plusshippinginfo">
<a class = "shipping" href="#" onclick="window.open('<?php print SEFLink('index.php?option=com_jshopping&controller=content&task=view&page=shipping&tmpl=component',1);?>','window','width=800, height=600, scrollbars=yes, status=no, toolbar=no, menubar=no, resizable=yes, location=no');return false;"><?php print _JSHOP_PLUS_SHIPPING_NEW;?></a>
</div>

Into langguage files inside component add this line:


define('_JSHOP_PLUS_SHIPPING_NEW', 'plus shipping');

Rudolf


Website Url: www.rubstudio.cz
 
Copyrights MAXXmarketing GmbH. All Rights Reserved