how to update the price to free?

  • Posts: 2
  • Thank you received: 0
13 years 9 months ago #6973

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?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6975

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.

  • Posts: 2
  • Thank you received: 0
13 years 9 months ago #6978

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

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #6983

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

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7008

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.

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

  • Posts: 73
  • Thank you received: 0
13 years 9 months ago #7068

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

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7076

And did that fix solved your problem ?

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

  • Posts: 73
  • Thank you received: 0
13 years 9 months ago #7111

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.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 9 months ago #7113

OK. That should be possible with next version.

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

Time to create page: 0.089 seconds
Powered by Kunena Forum