| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Removing the price field when product price is set to $0 | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Removing the price field when product price is set to $0
I need to remove the "Enter Your Price!" as well as the text field on the next page that allows users to enter a price. I have tried commenting out parts of the product.tpl, products.tpl, etc... but nothing works.
I am using version 4.0.13. I was able to accomplish this in an earlier version, but cannot get it to work with the new version. Thanks
__________________
lsmcswain |
|||||||
#2
|
|||||||
|
|||||||
Are you using a single column product layout or multiple columns?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Single Column for the products
__________________
lsmcswain |
|||||||
#4
|
|||||||
|
|||||||
Here are the template modifications for version 4.0.13
How to remove the "Enter Your Price" and the subsequent price text field.
This is from the xcart techs... Please perform the following operations: 1. open skin1/customer/main/product.tpl and replace <INPUT type="text" size="7" name="price"> with {*<INPUT type="text" size="7" name="price">*} <FONT class="ProductDetailsTitle"><SPAN id="product_price">{include file="currency.tpl" value=$product.taxed_price}</SPAN></FONT> <INPUT type="hidden" name="price" value="0.00"> 2. open skin1/customer/main/products.tpl replace <FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT> with {*<FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT>*} <FONT class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</FONT> 3. open skin1/customer/main/products_t.tpl and replace <FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT> with {*<FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT>*} <FONT class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</FONT> 4. You might need to open general settings page and set allowed minimum order total to 0.
__________________
lsmcswain |
|||||||
#5
|
|||||||
|
|||||||
Re: Removing the price field when product price is set to $0
Thanks!
This mod works great!
__________________
-- v4.1.12 AlteredCart - OnSale 2TC - AutoShip BCS - Poll Mod BCS - Refer a Friend/Points |
|||||||
#6
|
|||||||
|
|||||||
Re: Removing the price field when product price is set to $0
Anyone have a fix for this in 4.2? I tried the first part of it and couldn't find <INPUT type="text" size="7" name="price">
__________________
Version 4.2.2 Mods Special Offers Download Expander What's New Plucky Pear Designs |
|||||||
#7
|
|||||||
|
|||||||
Re: Removing the price field when product price is set to $0
Ok I found it but now the rest wont work.
products.tpl (this is the whole thing) Code:
My products_t.tpl says this Code:
__________________
Version 4.2.2 Mods Special Offers Download Expander What's New Plucky Pear Designs |
|||||||
#8
|
|||||||
|
|||||||
Re: Removing the price field when product price is set to $0
Will this work in 4.1.11?
In /customer/main/product.tpl I have replaced <INPUT type="text" size="7" name="price"> with <input type="text" size="7" name="price" value="Member Discounts" readonly="readonly" /> But it has not changed the display. Found easiest way: Search in languages and change text there.
__________________
4.1.11 |
|||||||
|
|||
X-Cart forums © 2001-2020
|