Post by sayimcrafts » Mon Dec 25, 2023 2:19 pm

how to enable product option labels in 4.0.2.3. i tried seearing via chrome dev tools and i see labels are set to class=" visually hidden". When i remove class, it does show label but i dont know which file to edit and where it is located. i tried editing via design editor but coundn't enable it.

Image

Image

Newbie

Posts

Joined
Fri Dec 30, 2022 4:54 pm

User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by JNeuhoff » Mon Dec 25, 2023 6:01 pm

As xxvirusxx said, it's the product.twig. However, it looks like you are using a different 3rd party theme hence you should also contact the theme author.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by sayimcrafts » Mon Dec 25, 2023 6:51 pm

xxvirusxx wrote:
Mon Dec 25, 2023 5:13 pm
product.twig
can you please provide full path to file

Newbie

Posts

Joined
Fri Dec 30, 2022 4:54 pm

Post by IP_CAM » Mon Dec 25, 2023 8:07 pm

Well, it's most likely just a waste of time, trying to assist, if you're not even able, to find out, where this product.twig file exists. You could just look for it in your local Copy of your OC (theme) Installation, by simply searching for it. Good Luck, you'll need it ... ::)

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by sayimcrafts » Mon Dec 25, 2023 8:27 pm

IP_CAM wrote:
Mon Dec 25, 2023 8:07 pm
Well, it's most likely just a waste of time, trying to assist, if you're not even able, to find out, where this product.twig file exists. You could just look for it in your local Copy of your OC (theme) Installation, by simply searching for it. Good Luck, you'll need it ... ::)
Ther are 5 product twigs thats why i am asking for. But i beleive its
localhost/catalog/view/template/product/product.twig
But i need some assist in make it, this is code i beleive

Edit: Got it to work but its not product twig file.
Last edited by sayimcrafts on Mon Dec 25, 2023 8:58 pm, edited 1 time in total.

Newbie

Posts

Joined
Fri Dec 30, 2022 4:54 pm

Post by xxvirusxx » Tue Dec 26, 2023 12:12 am

sayimcrafts wrote:
Mon Dec 25, 2023 6:51 pm
can you please provide full path to file
Here you go
https://github.com/opencart/opencart/bl ... oduct.twig

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by paulfeakins » Fri Dec 29, 2023 1:03 am

xxvirusxx wrote:
Tue Dec 26, 2023 12:12 am
sayimcrafts wrote:
Mon Dec 25, 2023 6:51 pm
can you please provide full path to file
Here you go
https://github.com/opencart/opencart/bl ... oduct.twig
Depends if this user is using one from a theme though ...

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by xxvirusxx » Fri Dec 29, 2023 8:55 pm

paulfeakins wrote:
Fri Dec 29, 2023 1:03 am
Depends if this user is using one from a theme though ...
Who know :laugh: :laugh:

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România
Who is online

Users browsing this forum: No registered users and 1 guest