X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Removal. (https://forum.x-cart.com/showthread.php?t=48878)

Lino1340 07-28-2009 03:36 PM

Removal.
 
Hello all,
I was hoping someone could assist me with how to remove price from some or all items from the xcart store. I want to use it more for my employees internal ordering of items they can just request and a few items I want to have a price for.
Any and all help is greatly appreciated.\

Shamun 07-28-2009 05:08 PM

Re: Removal.
 
To remove from the price from all product pages, look in skin1\customer\main\product.tpl

Find this:
Code:

              <td class="property-name product-price">{$lng.lbl_price}:</td>
              <td class="property-value">

                {if $product.taxed_price ne 0 || $variant_price_no_empty}
                  <span class="product-price-value">{include file="currency.tpl" value=$product.taxed_price tag_id="product_price"}</span>
                  <span class="product-market-price">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.taxed_price tag_id="product_alt_price"}</span>

                  {if $product.taxes}
                    {include file="customer/main/taxed_price.tpl" taxes=$product.taxes}
                  {/if}

                {else}

                  <input type="text" size="7" name="price" />

                {/if}
              </td>


Remove it.



To remove prices from the category, look in skin1\customer\products_list.tpl
Find this:
Code:

                <div class="price-row{if $active_modules.Special_Offers ne "" && $product.use_special_price ne ""} special-price-row{/if}">
                        {if $product.appearance.has_market_price && $product.appearance.market_price_discount gt 0}
                            <div class="market-price">
                            {$lng.lbl_market_price}: <span class="market-price-value">{include file="currency.tpl" value=$product.list_price}</span>
                            </div>
                        {/if}
                  <span class="price">{$lng.lbl_our_price}:</span> <span class="price-value">{include file="currency.tpl" value=$product.taxed_price}</span>
                  <span class="alter-price">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$product.taxed_price}</span>

                {if $product.appearance.has_market_price && $product.appearance.market_price_discount gt 0}
                    {if $product.appearance.market_price_discount gt 0}
                      {if $config.General.alter_currency_symbol ne ""}, {/if}
                      <span class="price-save">{$lng.lbl_save_price} {$product.appearance.market_price_discount}%</span>
                    {/if}

                {/if}
                </div>


Remove it.





Alternatively, you can set all 'free' items to cost $0.00 and they set their own price. For that, just tell them to enter $0 for price and select however much they want.
For items that cost, set the price to whatever you wish.


All times are GMT -8. The time now is 06:40 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.