Page 1 of 1

How To Admin->Catalog->Attributes image/icon add?

Posted: Sat May 23, 2020 7:34 am
by abdullahTR
Image

viewtopic.php?f=144&t=210966

1) Feature name must be between 1 and 64 characters! I get the warning. how can i solve it?
2) I need to add a picture or icon to this part. I get an error when I add it as html. How can I solve it?

Opencart v3.0.3.2 I'm using version

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Sat May 23, 2020 8:42 am
by straightlight
This topic has now been moved to the OpenCart 3.0 Support > General Support section of the forum.

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Wed Sep 16, 2020 3:09 pm
by abdullahTR
is there anyone who can help? thank you. ???

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Wed Sep 16, 2020 4:17 pm
by letxobnav
not a good idea as that text is stored html encoded but not decoded when retrieved, i.e. it will display your html unless you also use htmlspecialchars_decode() on the attribute name in the function which retrieves the attributes in admin and front-end.

This apart from increasing the table field characters and changing the validation function in admin.

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Wed Sep 16, 2020 11:44 pm
by abdullahTR
letxobnav wrote:
Wed Sep 16, 2020 4:17 pm
not a good idea as that text is stored html encoded but not decoded when retrieved, i.e. it will display your html unless you also use htmlspecialchars_decode() on the attribute name in the function which retrieves the attributes in admin and front-end.

This apart from increasing the table field characters and changing the validation function in admin.
Thank you for the answer. How can I add an image to the place I indicated on the link? I want image to appear instead of color. https://prnt.sc/uie5zt

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Thu Sep 17, 2020 12:02 am
by khnaz35
Looks like journal 3 options tab.
Go to catalog/options and edit the color option replace with images.

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Thu Sep 17, 2020 2:04 pm
by abdullahTR
khnaz35 wrote:
Thu Sep 17, 2020 12:02 am
Looks like journal 3 options tab.
Go to catalog/options and edit the color option replace with images.
thank you for your answer. If I do it the way you say, the system perceives it as if it added variation to the product. https://prnt.sc/uipct9
It looks like this if I add my own pictures here. https://prnt.sc/uipdqx
I want to filter by adding a picture to the place in this picture. https://prnt.sc/uip8qv

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Thu Sep 17, 2020 2:16 pm
by khnaz35
abdullahTR wrote:
Thu Sep 17, 2020 2:04 pm
I want to filter by adding a picture to the place in this picture. https://prnt.sc/uip8qv
For this follow this path and edit your filter https://prnt.sc/uipjzr

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Thu Sep 17, 2020 3:39 pm
by abdullahTR
khnaz35 wrote:
Thu Sep 17, 2020 2:16 pm
abdullahTR wrote:
Thu Sep 17, 2020 2:04 pm
I want to filter by adding a picture to the place in this picture. https://prnt.sc/uip8qv
For this follow this path and edit your filter https://prnt.sc/uipjzr
https://prnt.sc/uiqxwu
The place I show in the picture feels empty. I press the add button from the blue button, nothing happens.

Re: How To Admin->Catalog->Attributes image/icon add?

Posted: Thu Sep 17, 2020 4:20 pm
by khnaz35
abdullahTR wrote:
Thu Sep 17, 2020 3:39 pm
khnaz35 wrote:
Thu Sep 17, 2020 2:16 pm
abdullahTR wrote:
Thu Sep 17, 2020 2:04 pm
I want to filter by adding a picture to the place in this picture. https://prnt.sc/uip8qv
For this follow this path and edit your filter https://prnt.sc/uipjzr
https://prnt.sc/uiqxwu
The place I show in the picture feels empty. I press the add button from the blue button, nothing happens.
Thats how you add the filter in journal3
If not sure why it is not adding you may contact them.