0 Пользователей и 1 Гость просматривают эту тему.
  • 1 Ответов
  • 2067 Просмотров
*

Sergak47

  • Осваиваюсь на форуме
  • 11
  • 0 / 0
Как убрать цену на товар?
« : 14.12.2012, 20:33:38 »
Подскажите как убрать цену на товар, но так чтобы корзина осталась и была возможность заказа товара?
*

vsfvsf

  • Новичок
  • 1
  • 0 / 0
Re: Как убрать цену на товар?
« Ответ #1 : 30.12.2012, 12:58:05 »
В файле components/com_jshopping/templates/default/product/product_default.php
Удалить:
===========================================================================================
<?php if ($this->product->product_price_default > 0 && $this->config->product_list_show_price_default){?>
            <div class="default_price"><span id="pricedefault"><?php print formatprice($this->product->product_price_default)?></span></div>
         <?php }?>       
         
         <?php if ($this->product->_display_price){?>
         <div class="prod_price">
            <span id="block_price"><?php print formatprice($this->product->getPriceCalculate())?><?php print $this->product->_tmp_var_price_ext;?></span>
         </div>
         <?php }?>
         <?php if ($this->product->product_old_price > 0){?>
         <div class="old_price">
            <span class="old_price" id="old_price"><?php print formatprice($this->product->product_old_price)?></span>
         </div>
         <?php }?>
         <?php print $this->product->_tmp_var_bottom_price;?>
         
         <?php if ($this->config->show_tax_in_product && $this->product->product_tax > 0){?>
            <span class="taxinfo"><?php print productTaxInfo($this->product->product_tax);?></span>
         <?php }?>
         <?php if ($this->config->show_plus_shipping_in_product){?>
            <span class="plusshippinginfo"><?php print sprintf(_JSHOP_PLUS_SHIPPING, $this->shippinginfo);?></span>
         <?php }?>
         <?php if ($this->product->delivery_time != ''){?>
            <div class="deliverytime"><?php print _JSHOP_DELIVERY_TIME?>: <?php print $this->product->delivery_time?></div>
         <?php }?>
         <?php if ($this->product->product_basic_price_show){?>
            <div class="prod_base_price"><?php print _JSHOP_BASIC_PRICE?>: <span id="block_basic_price"><?php print formatprice($this->product->product_basic_price_calculate)?></span> / <?php print $this->product->product_basic_price_unit_name;?></div>
         <?php }?>
         
==============================================================================================         
         Цены пропали в карточке товара (внизу страницы), но в списке товаров остались.

В файле components/com_jshopping/templates/default/list_products/product.php


Удалить:
==============================================================================================
<?php if ($product->product_old_price > 0){?>
            <div class="old_price"><?php if ($this->config->product_list_show_price_description) print _JSHOP_OLD_PRICE.": ";?><span><?php print formatprice($product->product_old_price)?></span></div>
        <?php }?>
        <?php if ($product->product_price_default > 0 && $this->config->product_list_show_price_default){?>
            <div class="default_price"><?php print _JSHOP_DEFAULT_PRICE.": ";?><span><?php print formatprice($product->product_price_default)?></span></div>
        <?php }?>
        <?php if ($product->_display_price){?>
            <div class = "jshop_price">
                <?php if ($this->config->product_list_show_price_description) print _JSHOP_PRICE.": ";?>
                <?php if ($product->show_price_from) print _JSHOP_FROM." ";?>
                <span><?php print formatprice($product->product_price);?></span>
            </div>
        <?php }?>
        <?php print $product->_tmp_var_bottom_price;?>
        <?php if ($this->config->show_tax_in_product && $product->tax > 0){?>
            <span class="taxinfo"><?php print productTaxInfo($product->tax);?></span>
        <?php }?>
        <?php if ($this->config->show_plus_shipping_in_product){?>
            <span class="plusshippinginfo"><?php print sprintf(_JSHOP_PLUS_SHIPPING, $this->shippinginfo);?></span>
        <?php }?>
        <?php if ($product->basic_price_info['price_show']){?>
            <div class="base_price"><?php print _JSHOP_BASIC_PRICE?>: <?php if ($product->show_price_from) print _JSHOP_FROM;?> <span><?php print formatprice($product->basic_price_info['basic_price'])?> / <?php print $product->basic_price_info['name'];?></span></div>
        <?php }?>
      
============================================================================================      
      И они пропадут и в списках товаров
Чтобы оставить сообщение,
Вам необходимо Войти или Зарегистрироваться
 

Убрать адрес в оформлении заказа

Автор lalalag

Ответов: 0
Просмотров: 1581
Последний ответ 06.07.2018, 13:32:45
от lalalag
После русификации не сохраняет товар

Автор stardel

Ответов: 4
Просмотров: 976
Последний ответ 17.01.2018, 18:34:34
от stardel
Как убрать доставку?

Автор mlukyanov

Ответов: 9
Просмотров: 1748
Последний ответ 06.07.2016, 11:19:28
от Biss
Как отключить цену на доставку?

Автор den2904

Ответов: 8
Просмотров: 2677
Последний ответ 26.04.2016, 14:55:49
от dmitry_stas
Где поменять местами Цену и Руб

Автор stardel

Ответов: 5
Просмотров: 1145
Последний ответ 22.01.2016, 10:17:19
от nevigen