Skip to main content

how to set free product

More
10 years 9 months ago #228003 by hexcodc
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.8
-- PHP version -- : 3.5.3

Hi,

When i set the product price to zero, i have to put in 0.00 in order for it to be saved. Further, the product display shows $0.00 rather than free product and the add to cart buttonis not hidden. I am sure i have seen it works before until now. Sorry if it has been answered somewhere.

Gary

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #228010 by Mohamed Thelji
Hello Gary,

Regarding the "Add to cart" button, you'll just have to set the "Display 'add to cart' button for free products" option to NO via "Hikashop->System->Configuration->Main".
Also, for a free product, it should actually display the "Free" text that you can translate through your translation file.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #228087 by hexcodc
Replied by hexcodc on topic how to set free product
I have done what you have said and i still get the amount "0.00". I have attached the screens.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #228097 by nicolas
Replied by nicolas on topic how to set free product
Hi,

You need to delete the price with 0.00. Click on the bin icon for this price's row and that should do it.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #228190 by hexcodc
Replied by hexcodc on topic how to set free product
Hi, do you mean to click the delete icon? it will delete the whole row. If i leave the row blank, it won't be saved.

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #228199 by nicolas
Replied by nicolas on topic how to set free product
Hi,

Yes. So what is the problem with having the row deleted ?

Please Log in or Create an account to join the conversation.

More
10 years 9 months ago #228328 by hexcodc
Replied by hexcodc on topic how to set free product
let me explain one more time. i want to the product to show free, but if i leave the price field blank, it won't be saved. what should i put on the price field.

Gary

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #228332 by Jerome
Replied by Jerome on topic how to set free product
Hi,
Code:
-0.000

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #228486 by hexcodc
Replied by hexcodc on topic how to set free product
I tried but sorry, same result, show zero price. what can be done now.

Gary

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #228508 by nicolas
Replied by nicolas on topic how to set free product
I really don't understand the problem here.
There are two cases possible:

1. You want to show "0.00$" on your product page. In that case, you enter a price row with 0.00 or -0.00 and that will display that on the product page;
2. You want to show "free" on your product page. In that case, you remove completely the price row. As the system won't find any price, it will display the text "free" on your product page.

We already provided the solution for both cases before. So if that's none of these that you want, then we don't know what you're trying to do.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #261887 by aisweb
Replied by aisweb on topic how to set free product
Hope it's ok to dig up this old thread. I am as equally confused as the OP.

How do I 'remove completely the price row' ?
I don't see any way to do that within the Product.

Many thanks.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #261903 by nicolas
Replied by nicolas on topic how to set free product
Hi,

That default row is there so that you don't have to click plus to load the first row since most of the time, products have one price.
But that price row is not stored in the database.

When you don't have any price like in your product edition screenshot, you should see the text "Free" on the frontend, that you can change with a translation override.
I don't see why you would get $0.00.
That should only happen when you have a price with something like that: 0.00001 which would be stored in the database and then rounded to 0.00 on the frontend.

Please Log in or Create an account to join the conversation.

More
9 years 8 months ago #261978 by aisweb
Replied by aisweb on topic how to set free product
Thanks Nicolas it worked great.

* set Price to 0
* set Quantity to Unlimited
* Edit Langauage file: Sysyem / Configuration / Languages <English> change FREE_PRICE from 'Free' to something else,
e.g. "Please Contact Us For Purchasing Details"

Paul.

Please Log in or Create an account to join the conversation.

Time to create page: 0.134 seconds
Powered by Kunena Forum