View Single Post
  #9  
Old 01-19-2011, 04:26 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: remove the "Our price:" Field

First - make sure you are updating the right files. You can use Webmaster mode to trace the correct template. It is not clear what version you have. The version in your signature does not exist.

Try removing the smarty comments you added. With just the html comments, you can view the source after you load the page and you should see them. If you don't, you may be editing the wrong files, or maybe forgot to run cleanup.php after your changes.

If your add to cart submission has issues after you comment out the input, instead of commenting it out, try replacing it with:
<input type="hidden" name="price" value="0" />

Be aware - you are making these changes for all your products.

If none of this works - you might consider taking up Chamberinternet on their kind offer to give you personal assistance.

If you want to still show the price - then you might be taking the wrong approach. There is code in your template that is displaying the text box for price entry when set to zero - you will want to change that.

Look in your template for what is happening when you have zero price near where you have the "input type = text" code. You will probably find an if/else statement based on the "$product.taxed_price ne 0 ". You can change that to keep the same functionality, even if the price is zero and go from there.


---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote