Quote:
Originally Posted by sarcastasaur
Greetings, my site, http://www.renaissanceeuropeanspa.com/store/, only has a few gift card for sale through Ecwid, and I would like to add an option to allow users to enter a custom price for a gift card they want. Something like a drop-down menu or just a text box to enter a custom value they want to the gift card. They way I have it set up right now only has 6 prices they can choose from.
I searched through the forums and ecwid menu options with no luck. Any ideas?
Thanks.
|
Hello,
Thanks for contacting us.
Basically Ecwid was designed to be an online store to display products, calculate shipping, allow various types of payment etc.
Unfortunately, Ecwid doesn’t have user’s-entered price yet. We don’t have an exact ETA when it will be implemented.
But there is a workaround in your case:
You can create a separate $0.0 product with the list of product options to choose from.
Ecwid allows to set up price modifiers for product options. So, you can add different options for the different amount.
You can set up options that you are talking about in Ecwid Control Panel>Catalog>Products>choose certain product>New option.
You can choose the type of options: radio-buttons, drop-down menu, area field etc and apply there the price modifier function according to the price of your gift card.
Furthermore, you can hide via CSS the price for this product particularly and change the word “Qty” into “How much” for example that should be done with the help of translation script/
To get to know how to make CSS changes, read this article:
https://help.ecwid.com/customer/en/p...e-ecwid-design
Here is an instruction on how to implement CSS changes for certain page only.
https://help.ecwid.com/customer/en/p...in-pages-only-
In order to hide the price for the particular product please paste this CSS code into your custom CSS theme (Settings>Design>New theme)
Code:
div.ecwid-productBrowser-CategoryPage-CATEGORY_ID div.ecwid-productBrowser-productsGrid-productBottomFragment div.ecwid-productBrowser-price {
display: none;
}
where
CATEGORY_ID is the ID of the category you want to apply the changes to.
Do not forget to activate the theme and save the changes.
In order to change the word “Qty” into the other one, you should add translation script that you can easily generate using our translation tool:
http://www.ecwid.com/playground/tran...tool/index.php
Code:
<script>
ecwidMessages = {
"OrderBox.qty":"Your translation goes there"
}
</script>
The scripts should be added into the source code of the your site where Ecwid is embedded.
As far as I can see your site is on Wix. In your case, you should go to your Wix editor and at the page where you added your Ecwid store, please double click any area of your store and in the pop-up choose “Design” tab. Scroll down and press “Advanced settings” . You should add the script in this field below. Save the changes.
Hope this helps.
If any additional questions appear, please feel free to ask.
We are always glad to help.