Quote:
Originally Posted by gb2world
The template is made up of html and smarty. smarty code is inside {}, everything else is html.
You are using smarty comments for html code. To comment out html, use
<!-- -->
Also - you might have issues commenting out the input field. If it does not work, instead change it to a hidden field and pass 0 as a value.
---
|
Thank you
I have done the following code
Products_t.tpl
Code:
<!-- <span class="price">{$lng.lbl_enter_your_price}</span><br /> -->
<!-- {$lng.lbl_enter_your_price_note} -->
Products_Details.tpl
Code:
<!-- {* <td class="property-name product-price" valign="top">{$lng.lbl_our_price}:</td> *} -->
and
Code:
<!-- {* <input type="text" size="7" name="price" /> *} -->
Is this correct.
Sorry i havnt dont coding for about 15 years and very rusty.
also never worked with smarty code before.
I have done the above and checked the product and its still showing up the text field.
http://www.store.xcesiv.com//product.php?productid=15&cat=18&page=&is_featured_ product=
I want it to show the price once the drop button is chosen, but cant seem to work it out.
thanks again for your help