Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Removal.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2009, 03:36 PM
 
Lino1340 Lino1340 is offline
 

Newbie
  
Join Date: Jul 2009
Posts: 2
 

Default 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.\
__________________
Xcart gold 422
Reply With Quote
  #2  
Old 07-28-2009, 05:08 PM
 
Shamun Shamun is offline
 

X-Adept
  
Join Date: Jun 2009
Location: North Carolina
Posts: 841
 

Default 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.
__________________
- Shane Munroe
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:47 PM.

   

 
X-Cart forums © 2001-2020