| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
remove the "Our price:" Field | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||||
|
|||||||||
![]() Dont use html comments (<!-- -->) to comment out smarty code. Use {* *}. What you need to do is set correct price for the product but hide quantity box and set hidden filed in the template with quantity - otherwise noone will be able to order.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#12
|
|||||||||
|
|||||||||
![]() If I understand his requirement correctly - I don't think he wants to hide the quantity box - he is trying to set a zero price, and use price modifiers in the options to set the sale price. The customer may still need to choose quantity. He wants to display the price after the customer selects an option - which the existing javascript should handle. The issue may be that it will display zero or the first price modifier when the page firsts loads, so customization is probably needed to handle that.
It is also okay to use html comments to comment out what he is trying to hide. The enclosed smarty is just display - not executable, so it won't be a problem. The smarty comments were confusing him. Also suspect he will need some if/than statements to make it for only a certain category or group of products. It is going to take a little bit of customization to get it to work right and he might need more help than can quickly be offered in this thread - unless someone has time to work out all the issues for him. ---
__________________
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) |
|||||||||
#13
|
|||||||
|
|||||||
![]() I found myself with a similar question and found this thread -- thank you for the hint. Knowing from your answer that the "Set your own price" text was coming from the language variables "lbl_enter_your_price" and "lbl_enter_your_price_note" I was able to simply modify those phrases in the admin section that allows language edits. Instead of "Set your own price!
The price for this product is not set. You can decide how much you want to pay. " My site now more nicely states: "Variable pricing The price is determined by the option selected" Pointer appreciated! |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|