- Posts: 2
- Thank you received: 0
how to update the price to free?
15 years 7 months ago #6973
by vigilgt
how to update the price to free? was created by vigilgt
obviously i can increase and decrease the price
however it wont allow me to change the price back to 0
i guess it's on purpose, not a bug. isnt it?
but how can i modify the price to 0?
however it wont allow me to change the price back to 0
i guess it's on purpose, not a bug. isnt it?
but how can i modify the price to 0?
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6975
by nicolas
Replied by nicolas on topic Re: how to update the price to free?
If you set all the prices of a product to 0 and save your product, it will appear as free.
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6978
by vigilgt
Replied by vigilgt on topic Re: how to update the price to free?
i just changed to price to 0 (currently only 1 price field)
clicked apply. no, the price did not update
clicked save. no. still not 0
clicked apply. no, the price did not update
clicked save. no. still not 0
Please Log in or Create an account to join the conversation.
15 years 7 months ago #6983
by nicolas
Replied by nicolas on topic Re: how to update the price to free?
There is indeed a problem as we have the same issue on our demo website.
We need to look at that bug tomorrow. We'll report back to you when we have more information.
Thanks for the report
We need to look at that bug tomorrow. We'll report back to you when we have more information.
Thanks for the report
Please Log in or Create an account to join the conversation.
15 years 7 months ago #7008
by nicolas
Replied by nicolas on topic Re: how to update the price to free?
Hi,
You can fix the problem by editing the file administrator/components/com_hikashop/classes/product.php and replacing the line:
if(!empty($price->price_id)) $ids[] = $price->price_id;
by:
if(!empty($price->price_id) && !empty($price->price_value)) $ids[] = $price->price_id;
We'll add that fix to next release.
You can fix the problem by editing the file administrator/components/com_hikashop/classes/product.php and replacing the line:
if(!empty($price->price_id)) $ids[] = $price->price_id;
by:
if(!empty($price->price_id) && !empty($price->price_value)) $ids[] = $price->price_id;
We'll add that fix to next release.
Please Log in or Create an account to join the conversation.
15 years 7 months ago #7068
by bthayer
Replied by bthayer on topic Re: how to update the price to free? or delete
Hi Nicholas,
I have a similar issue. I wanted to create a special sample price for new clients so I copied the wholesale product listing with the idea of simply changing the product name and price. I needed to delete some bulk pricing lines but was unable to.
-Bill
I have a similar issue. I wanted to create a special sample price for new clients so I copied the wholesale product listing with the idea of simply changing the product name and price. I needed to delete some bulk pricing lines but was unable to.
-Bill
Please Log in or Create an account to join the conversation.
15 years 7 months ago #7076
by nicolas
Replied by nicolas on topic Re: how to update the price to free? or delete
And did that fix solved your problem ?
Please Log in or Create an account to join the conversation.
15 years 7 months ago #7111
by bthayer
Replied by bthayer on topic Re: how to update the price to free? or delete
No. I instead copied the retail version, changed the price and copied the description from the wholesale. That did it. All is good but I wanted to mention that it would be handy to be able to delete the prices. -Bill
Please Log in or Create an account to join the conversation.
15 years 7 months ago #7113
by nicolas
Replied by nicolas on topic Re: how to update the price to free? or delete
OK. That should be possible with next version.
Please Log in or Create an account to join the conversation.
Time to create page: 0.192 seconds