- Posts: 141
- Thank you received: 3
product listing on full width page
6 years 11 months ago - 6 years 11 months ago #312452
by Greg_C
product listing on full width page was created by Greg_C
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.2.14
Hello, I am looking for the solution to use full width page size for Hkashop product listing but for other Hikashop pages (including product page and checkout) I would like to keep page size (container) same as for default page content
Is it possible to indicate that Hikashop product listing should be displayed not in the main page content container but in a different section ? I am using template with Gantry 5 and I can set different sections for different modules but I cannot find a way how to use different section for Hikashop product listing
Regards,
Greg
-- Joomla version -- : 3.9.12
-- PHP version -- : 7.2.14
Hello, I am looking for the solution to use full width page size for Hkashop product listing but for other Hikashop pages (including product page and checkout) I would like to keep page size (container) same as for default page content
Is it possible to indicate that Hikashop product listing should be displayed not in the main page content container but in a different section ? I am using template with Gantry 5 and I can set different sections for different modules but I cannot find a way how to use different section for Hikashop product listing
Regards,
Greg
Last edit: 6 years 11 months ago by Greg_C.
Please Log in or Create an account to join the conversation.
6 years 11 months ago #312459
by nicolas
Replied by nicolas on topic product listing on full width page
Hi,
I'm afraid this would require to do modifications in your Joomla template to be able to have the "main" area (where the current component displays itself) moved outside the HTML structure of the template.
Doing the change only for the HikaShop products listing pages is easy.
You can just add such code :
The hard part is to place that code in the template code with the correct modifications to adapt the template. I'm afraid you'll have to seek help at your template provider for that.
I'm afraid this would require to do modifications in your Joomla template to be able to have the "main" area (where the current component displays itself) moved outside the HTML structure of the template.
Doing the change only for the HikaShop products listing pages is easy.
You can just add such code :
Code:
if(@$_REQUEST['option'] == 'com_hikashop' && @$_REQUEST['ctrl'] == 'product' && @$_REQUEST['task'] == 'listing') {
// The page is currently displaying a products listing in the main area of the template
}
Please Log in or Create an account to join the conversation.
6 years 11 months ago #312472
by Greg_C
Replied by Greg_C on topic product listing on full width page
Hi, Nicolas, Thank you for your hint. I am trying to solve this problem by using module for product listing and simply assign this module to full width position. I created New Hikashop Content Module and assigned this module to Menu Item with Item Type Featured Articles. However this solution is not working with Hikashop Filter Module because I need to indicate in Hikashop Filter Module id of the Hikashop product listing menu. Is it possible to somehow solved this problem and use Hikashop Content Module together with Hikashop Filter Module ?
Regards,
Greg
Regards,
Greg
Please Log in or Create an account to join the conversation.
6 years 11 months ago #312479
by nicolas
Replied by nicolas on topic product listing on full width page
Hi,
No, you can't do this with a module. The filter system can only show its results in the main area of the template.
No, you can't do this with a module. The filter system can only show its results in the main area of the template.
Please Log in or Create an account to join the conversation.
6 years 11 months ago #312509
by Greg_C
Replied by Greg_C on topic product listing on full width page
Hi Nicolas, understood, so I need to analyze scenario with adding a code to the template code as you proposed - could you give me a hint where it should be placed in case of Prostar Template to give me a better picture how the change should looks like ?
Regards,
Greg
Regards,
Greg
Please Log in or Create an account to join the conversation.
6 years 11 months ago #312514
by Greg_C
Replied by Greg_C on topic product listing on full width page
Hi Nicolas, Problem is solved
I got the information that I can solved this problem by assignment of the Hikashop Product Listing Menu Item to the copy of the template, which includes full width page size for content main area
Regards,
Greg
Regards,
Greg
The following user(s) said Thank You: nicolas
Please Log in or Create an account to join the conversation.
Time to create page: 0.206 seconds