- Posts: 5
- Thank you received: 0
Separating line between categories and the items underneath
8 years 10 months ago - 8 years 10 months ago #285120
by Blom
Separating line between categories and the items underneath was created by Blom
-- url of the page with the problem -- :
www.4strokemadness.com/index.php/category/44-monkey-gorilla
-- HikaShop version -- : 3.2.1. basic
-- Joomla version -- : 3.8.3
I would like to create a line to separate my categories and the items underneath.
I've got multiple motorcycle types, and when you click one type you get to see the item categories for it.
And underneath there, you can find all items in the categories above (for all the people who are just window shopping on the site and just want to scroll trough all the items for their motorcycle type).
And I would like to make a separator bar with text which says 'All items from the categories above' (or something like that in my own language).
Is this possible?
-- HikaShop version -- : 3.2.1. basic
-- Joomla version -- : 3.8.3
I would like to create a line to separate my categories and the items underneath.
I've got multiple motorcycle types, and when you click one type you get to see the item categories for it.
And underneath there, you can find all items in the categories above (for all the people who are just window shopping on the site and just want to scroll trough all the items for their motorcycle type).
And I would like to make a separator bar with text which says 'All items from the categories above' (or something like that in my own language).
Is this possible?
Last edit: 8 years 10 months ago by Blom.
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285124
by nicolas
Replied by nicolas on topic Separating line between categories and the items underneath
Hi,
Sure. Edit the file "listing_div" of the view "category" via the menu Display>Views and add your text at the bottom of the view file.
www.hikashop.com/support/documentation/1...-display.html#layout
Sure. Edit the file "listing_div" of the view "category" via the menu Display>Views and add your text at the bottom of the view file.
www.hikashop.com/support/documentation/1...-display.html#layout
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285178
by Blom
Replied by Blom on topic Separating line between categories and the items underneath
Tanks for the info.
I tried to just add the tekst there, but then my site didn't work anymore! So I figured I need to put it in, in HTML right?
I tried to just add the tekst there, but then my site didn't work anymore! So I figured I need to put it in, in HTML right?
Please Log in or Create an account to join the conversation.
8 years 10 months ago #285179
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Separating line between categories and the items underneath
Hello,
Yes the view is a mix of PHP and HTML.
If you put your text in a PHP block, it could generate a PHP error and result a blank page.
So you need to put your content in HTML format, outside PHP blocks, or use PHP code such as: echo "....";
Regards,
Yes the view is a mix of PHP and HTML.
If you put your text in a PHP block, it could generate a PHP error and result a blank page.
So you need to put your content in HTML format, outside PHP blocks, or use PHP code such as: echo "....";
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.050 seconds