Conditional "Plus Shipping" link

14.11.2011 22:54
#1
Onofrei
Joomshopping forum user no avatar
Name: Mihai-Codrut
06.03.2011
Posts: 55
Quote
Conditional "Plus Shipping" link

Hello webdesigner!

If "show plus shipping" link is enabled for category/product view and product price is higher than "_JSHOP_FROM_PRICE_SHIPPING_FREE" than do not show "plus shipping" link.

What do you think?

 
15.11.2011 13:00
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Conditional "Plus Shipping" link

problem in lang file.

 
15.11.2011 14:18
#3
Onofrei
Joomshopping forum user no avatar
Name: Mihai-Codrut
06.03.2011
Posts: 55
Quote
Aw: Conditional "Plus Shipping" link

Hello webdesigner,

It seems you misunderstood me.
What I wanted to achieve is to show "plus shipping" link ONLY if the product price is lower than the value defined as "summ_null_shipping" or the cart "fullsumm" < "summ_null_shipping" and I suggested you to be a standard feature.
All you have to do is to edit 1 line in 7 files:

- template/default/category/category_default.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $product->product_price < $this->config->summ_null_shipping){?>

- template/default/product/product_default.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $this->product->getPriceCalculate() < $this->config->summ_null_shipping){?>

- template/default/products/listproducts.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $product->product_price < $this->config->summ_null_shipping){?>

- template/default/manufacturer/products.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $product->product_price < $this->config->summ_null_shipping){?>

- template/default/vendor/products.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $product->product_price < $this->config->summ_null_shipping){?>

- template/default/search/result.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $product->product_price < $this->config->summ_null_shipping){?>

- template/default/cart/cart.php:
instead of
<?php if ($this->config->show_plus_shipping_in_product){?>
to have
<?php if ($this->config->show_plus_shipping_in_product && $this->fullsumm < $this->config->summ_null_shipping){?>

Regards

 


Copyrights MAXXmarketing GmbH. All Rights Reserved
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.