Post by 20stock » Tue Sep 08, 2020 5:11 pm

Hi, I'm totally new to OC. Can anybody help me?
I want to manipulate html tags in some components (I don't know if that components is and extra module that installed or OC 3 default feature). In details I have a place that shows my products Gridly in my main page and I want to put the title of each product in <h3> instead of <a> tag. I think I should change a .twig file for that. Am I true? If yes, where is that .twig located and how can I find that?
Here are screenshot from where I need changes:
https://www.dropbox.com/s/h3kww62wlmxv5 ... 1.png?dl=0

Newbie

Posts

Joined
Tue Aug 11, 2020 12:58 pm

Post by IP_CAM » Tue Sep 08, 2020 5:58 pm

Well Newbie, first note, to always mention the exact OC Version
as well as the Theme used, if you expect a useful reply. Better also
present a link to the Shop Site, if you have nothing to hide ... :D
Ernie

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 letxobnav » Tue Sep 08, 2020 7:11 pm

that is some kind of journal carousel so I suggest ask journal.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by khnaz35 » Tue Sep 08, 2020 11:33 pm

20stock wrote:
Tue Sep 08, 2020 5:11 pm
Hi, I'm totally new to OC. Can anybody help me?
I want to manipulate html tags in some components (I don't know if that components is and extra module that installed or OC 3 default feature). In details I have
If it is journal then you can edit the skin => product page
https://prntscr.com/udqjii

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by 20stock » Wed Sep 09, 2020 1:27 pm

IP_CAM wrote:
Tue Sep 08, 2020 5:58 pm
Well Newbie, first note, to always mention the exact OC Version
as well as the Theme used, if you expect a useful reply. Better also
present a link to the Shop Site, if you have nothing to hide ... :D
Ernie
I'm using OC 3.0.2.0 and Journal3 and the web address is: 20stock.ir
In main page I have two grid style post rows. Here is where I need changes:
https://www.dropbox.com/s/pcvm5ojydy96f ... 9.png?dl=0

Newbie

Posts

Joined
Tue Aug 11, 2020 12:58 pm

Post by 20stock » Wed Sep 09, 2020 1:46 pm

khnaz35 wrote:
Tue Sep 08, 2020 11:33 pm
20stock wrote:
Tue Sep 08, 2020 5:11 pm
Hi, I'm totally new to OC. Can anybody help me?
I want to manipulate html tags in some components (I don't know if that components is and extra module that installed or OC 3 default feature). In details I have
If it is journal then you can edit the skin => product page
https://prntscr.com/udqjii
I checked there before but as I know there is no field to put title in a special tag. Am I wrong?

Newbie

Posts

Joined
Tue Aug 11, 2020 12:58 pm

Post by khnaz35 » Wed Sep 09, 2020 2:49 pm

20stock wrote:
Wed Sep 09, 2020 1:46 pm
I checked there before but as I know there is no field to put title in a special tag. Am I wrong?
Did you try to creating your own page style https://prnt.sc/ue2xvh and then assign to skin?

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by 20stock » Wed Sep 09, 2020 4:17 pm

20stock wrote:
Tue Sep 08, 2020 5:11 pm
Hi, I'm totally new to OC. Can anybody help me?
I want to manipulate html tags in some components (I don't know if that components is and extra module that installed or OC 3 default feature). In details I have a place that shows my products Gridly in my main page and I want to put the title of each product in <h3> instead of <a> tag. I think I should change a .twig file for that. Am I true? If yes, where is that .twig located and how can I find that?
Here are screenshot from where I need changes:
https://www.dropbox.com/s/h3kww62wlmxv5 ... 1.png?dl=0
OK I think I could finally do that! I changed product_card.twig file in:
catalog/ view/ theme/ Journal3/template/Journal3/Product_cart.twig

Newbie

Posts

Joined
Tue Aug 11, 2020 12:58 pm
Who is online

Users browsing this forum: Semrush [Bot] and 6 guests