How to change product price from each to lb

  • Posts: 69
  • Thank you received: 1
11 years 10 months ago #83176

I setup a custom field to add lb to product price. I changed the product_listing.php file and added to the language file but the lb does not show up behind the price. We will be using each and lb for certain categories. What else needs to be done? I followed the instructions here: www.hikashop.com/en/support/documentation/faq.html

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

  • Posts: 12953
  • Thank you received: 1778
11 years 10 months ago #83359

Hi,

Can you tell me what did you exactly do and give me a link to your website please ?

Thanks.

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

  • Posts: 69
  • Thank you received: 1
11 years 10 months ago #83492

Hi,

I sent you a private message, but I would like to add lb, oz, and each to the product price.

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

  • Posts: 82817
  • Thank you received: 13360
  • MODERATOR
11 years 10 months ago #83638

Hi,

There seems to be a problem with your custom field. I would recommend to delete it and recreate it with the debug mode option of the joomla configuration turned on. I tried to do it for you but I can't browser your backend anymore as you are missing the jos_messages table in the database (which should not be the case!!!). You will have to turn off the debug mode option in the configuration.php file of your joomla via FTP and then add that jos_messages table so that the debug mode can work properly.

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

  • Posts: 69
  • Thank you received: 1
11 years 10 months ago #83648

Limited database experience. Anyway, the table I created is titled jos_messages_cfg, not sure how cfg was added. This is more than what I know. I deleted the custom field. Turned back on debug and still get the error. Sorry, but to make this field work shouldn't be so difficult.

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

  • Posts: 82817
  • Thank you received: 13360
  • MODERATOR
11 years 10 months ago #83935

Hi,

That error with jos_messages doesn't come from HikaShop or that custom field. It's an error of Joomla, and not related to HikaShop.
The problem is that this error is displayed on all the pages when you turn on the debug mode, so basically you can't use it in order to try to understand why the custom field doesn't work.
So it's normal that deleting the custom field doesn't resolve the error of the jos_messages table.

I would recommend to first fix your issue with that Joomla error before trying to look into the custom field issue since you can't use the debug mode at the moment. Note that in your message, you're talking about a jos_messages_cfg but the error you have is not on that table. It's on the jos_messages table. It's another table and you don't have it. That's why you have that error ! Normally you should have it on your database. Maybe because of a backup/restore issue you lost it or something like that.
You can add it back with the CREATE TABLE sql file of that table corresponding to your version of Joomla.

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

Time to create page: 0.068 seconds
Powered by Kunena Forum