Image not uploading on custom field

  • Posts: 129
  • Thank you received: 2
9 years 4 months ago #239813

-- url of the page with the problem -- : www.tiendamat.com
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.5.1

Hello,
I wanted to put a stock display to put with different lights if there is a lot of stock, few stock, if it takes 2-3 days, etc through a light bar.
So I decided to create a custom field, and upload the images of that light bar.
The problem is that I upload the images, and they are not saved, I don't know why. I've tried to upload them both in the "default value" or in the "preview", and save it after, but nothing.

Here is where I tried to upload it:





And here is the image I tried to upload:




Is this a bug or am I doing something wrong?

Thank you very much

Attachments:

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

  • Posts: 84311
  • Thank you received: 13701
  • MODERATOR
9 years 4 months ago #239822

Hi,

The default value is not saved for upload type custom fields and the preview area is just to see how it looks.
So you don't want to use them.
In fact, I wouldn't even use a custom field to do that. Instead I would just have some simple PHP to display the correct image based on the stock of the product.
Here are some threads about that to get you started:
www.hikashop.com/forum/2-general-talk-ab...ystem-for-stock.html
www.hikashop.com/support/forum/product-c...e-not-aviliable.html

The following user(s) said Thank You: vanway

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

Time to create page: 0.076 seconds
Powered by Kunena Forum