Pricing not remaining in saved product [SOLVED]

  • Posts: 4
  • Thank you received: 0
9 years 4 months ago #12690

Hi,

First of all may I say that your product is excellent. I am VERY impressed with the features.

On to my challenge.

I have installed, configured and imported some products into my Hikashop. When editing some of the products I noticed that the price was set to zero. I entered the price and sometimes it remains, sometimes it is missing. I have created some screenprints of the error for your information.

I did not see another post with the same error, if it is in the forum, please accept my apologies for duplicating.

Thank you in advance for any assistance you can provide in solving this issue.

Ian

File Attachment:

File Name: Hikashop_p...ints.zip
File Size:1,656 KB

Attachments:
Last edit: 9 years 4 months ago by ICCservices. Reason: changed subject to SOLVED

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

  • Posts: 70141
  • Thank you received: 10500
  • MODERATOR
9 years 4 months ago #12696

That's indeed a new problem to us. It seems that the problem is not the save but the loading of the prices. Apparently, the system is not able to load the prices when you edit a product. Then, when you save the product, since you don't send any price, it considers that the ones already there should be removed.
The question is really why are the prices not loaded on the product edition page.

Could you activate the debug mode of joomla give us a back end access to your website so that we can see the problem ?

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

  • Posts: 4
  • Thank you received: 0
9 years 4 months ago #12700

Sure, can you give me an email address to send the log in details to or shall I PM them to you?

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

  • Posts: 70141
  • Thank you received: 10500
  • MODERATOR
9 years 4 months ago #12703

You can use our contact form.

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

  • Posts: 4
  • Thank you received: 0
9 years 4 months ago #12705

Contact form sent

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

  • Posts: 70141
  • Thank you received: 10500
  • MODERATOR
9 years 4 months ago #12709

Could you edit the file administrator/components/com_hikashop/views/product/view.html.php and change the lines:
$ids[]=$related->product_id;
and:
$ids[]=$options->product_id;

to:
$ids[]=(int)@$related->product_id;
and:
$ids[]=(int)@$options->product_id;

That should solve the problem.

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

  • Posts: 4
  • Thank you received: 0
9 years 4 months ago #12733

I have made the changes your recommended and it is working as it should now.

Thank you for your assistance and in such quick time too.

A little more testing from my side and then I'll commit to buying the full version.

Kind Regards

Ian

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

  • Posts: 70141
  • Thank you received: 10500
  • MODERATOR
9 years 4 months ago #12746

Great. We will include that fix in next version of HikaShop.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum