- Posts: 6
- Thank you received: 0
Product listings views
13 years 4 months ago - 13 years 4 months ago #110616
by krstn
Product listings views was created by krstn
Hi, first of all - THANK YOU! for the awesome extension.
I'm a new hikashop user and I'm just grasping how this all works so be gentle with me
Ive set up my category structure like so...
and my menus like so...
A quick explanation - it is categorised like this so that inside each model number category (1GM, 1GM10, 2GM, etc etc) will be a list of parts for that engine.
Currently when you click the model number (for example splash.grafikfabrik.co.uk/index.php/mari...es/category/96-yse12 ) the parts are displayed as 2 columns. I would like to have them displayed as 1 column but the only way I know to do this, is to set up another sub menu for each of the 85 engine model categories. I'd rather not do this because it would be really time consuming as eventually there will be maybe over 1000 engine models!!! Things could get really messy!
1) So is there any way to display the products as 1 column without setting up a menu for each engine model category?
2) I've set the products so that there is no link to the actual product page but the product "code" still links to the product page.
see splash.grafikfabrik.co.uk/index.php/mari...es/category/96-yse12
Is there a way to get rid of this link?
3) I would also like to add another 'field' in the product information called "supercedes" (along with 'code' 'weight' 'length/width/height' etc etc)
That is visible without clicking through to the actual product page.
OR
If it is not possible to add another field in the starter version of HS - Then I'd like to make the product description visible without clicking through to the product page.
4) The add to cart buttons are using the "a.hikashop_cart_button" class but I would like all buttons to use the "a.button-more" class from my template. Can I change this?
Hope this all makes sense.
Thanks again!
I'm a new hikashop user and I'm just grasping how this all works so be gentle with me
Ive set up my category structure like so...
and my menus like so...
A quick explanation - it is categorised like this so that inside each model number category (1GM, 1GM10, 2GM, etc etc) will be a list of parts for that engine.
Currently when you click the model number (for example splash.grafikfabrik.co.uk/index.php/mari...es/category/96-yse12 ) the parts are displayed as 2 columns. I would like to have them displayed as 1 column but the only way I know to do this, is to set up another sub menu for each of the 85 engine model categories. I'd rather not do this because it would be really time consuming as eventually there will be maybe over 1000 engine models!!! Things could get really messy!
1) So is there any way to display the products as 1 column without setting up a menu for each engine model category?
2) I've set the products so that there is no link to the actual product page but the product "code" still links to the product page.
see splash.grafikfabrik.co.uk/index.php/mari...es/category/96-yse12
Is there a way to get rid of this link?
3) I would also like to add another 'field' in the product information called "supercedes" (along with 'code' 'weight' 'length/width/height' etc etc)
That is visible without clicking through to the actual product page.
OR
If it is not possible to add another field in the starter version of HS - Then I'd like to make the product description visible without clicking through to the product page.
4) The add to cart buttons are using the "a.hikashop_cart_button" class but I would like all buttons to use the "a.button-more" class from my template. Can I change this?
Hope this all makes sense.
Thanks again!
Last edit: 13 years 4 months ago by krstn.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #110643
by nicolas
Replied by nicolas on topic Product listings views
1. Sure there is no need to setup one menu per category. Simply edit the options of the product listing module associated to your main category menu and set the number of columns you want for the products and that's all.
2. Edit the file "listing_img_title" of the view "product" via the menu Display>Views and change the code:
to:
3. That is indeed not possible to add custom product fields with the Stater edition.
you can display the description by simply editing the same view as point 2 and add that code:
4. Sure. Edit the file "quantity" via the menu Display->Views and replace the lines:
by:
2. Edit the file "listing_img_title" of the view "product" via the menu Display>Views and change the code:
Code:
<a href="<?php echo $link;?>">
<?php
echo $this->row->product_code;
?>
</a>
Code:
<?php
echo $this->row->product_code;
?>
3. That is indeed not possible to add custom product fields with the Stater edition.
you can display the description by simply editing the same view as point 2 and add that code:
Code:
<?php echo $this->row->product_description; ?>
4. Sure. Edit the file "quantity" via the menu Display->Views and replace the lines:
Code:
echo $this->cart->displayButton(JText::_('ADD_TO_CART'),'add',$this->params,$url,$this->ajax,'',$max,$min);
Code:
echo $this->cart->displayButton(JText::_('ADD_TO_CART'),'add',$this->params,$url,$this->ajax,'',$max,$min,'button-more');
Please Log in or Create an account to join the conversation.
13 years 4 months ago #110650
by krstn
Replied by krstn on topic Product listings views
Hi, Thanks for the quick reply!
1) I must me missing something here about the way HS works.
As far as I can tell I don't have any HS 'modules' enabled (except the cart module)...just 'menus', which is where I've been specifying all the settings. eg 'Marine Parts' page is 3 columns, 'Yanmar Marine' page is 2 columns, 'Marine Engines' page is a 1 column list. But I don't have menus or modules 'set' for all the different model number pages(1GM, 1GM10, 2GM etc etc)...as far as I can tell!
Here is the modules screen...
2 & 3) Works perfect...thank you!!
4) Buttons look fine in their inactive state (left) but look like the default button again on mouseover (right)
I would also like the other buttons on the site to look like the template buttons if possible, forgot to mention that before...sorry.
Thanks again for all the help so far
1) I must me missing something here about the way HS works.
As far as I can tell I don't have any HS 'modules' enabled (except the cart module)...just 'menus', which is where I've been specifying all the settings. eg 'Marine Parts' page is 3 columns, 'Yanmar Marine' page is 2 columns, 'Marine Engines' page is a 1 column list. But I don't have menus or modules 'set' for all the different model number pages(1GM, 1GM10, 2GM etc etc)...as far as I can tell!
Here is the modules screen...
2 & 3) Works perfect...thank you!!
4) Buttons look fine in their inactive state (left) but look like the default button again on mouseover (right)
I would also like the other buttons on the site to look like the template buttons if possible, forgot to mention that before...sorry.
Thanks again for all the help so far
Please Log in or Create an account to join the conversation.
13 years 4 months ago #110697
by Eliot
Replied by Eliot on topic Product listings views
Hi there,
1. I'm not sure I understand but you can for each menu configure the number of row to display so I think you should be able to do it for each category.
4. I guess the easiest way would be to copy the css rules of your template in the Hikashop css file. Just copy it in the font end css file (System>Configuration>Display>Css) for the given class
1. I'm not sure I understand but you can for each menu configure the number of row to display so I think you should be able to do it for each category.
4. I guess the easiest way would be to copy the css rules of your template in the Hikashop css file. Just copy it in the font end css file (System>Configuration>Display>Css) for the given class
Please Log in or Create an account to join the conversation.
13 years 4 months ago - 13 years 4 months ago #111331
by krstn
Replied by krstn on topic Product listings views
Sorry for the late reply...had to move to another project for a few days.
4) Got that figured out now (I think) So again thank you!!
1) Still troubling me. I'll try and explain it differently.
As far as I can see I don't have any HS modules enabled (see below)...I'm just using the HS menus.
I have my categories set so that the bottom level category is a list of the types of engines we are selling the parts for ....like 1GM 1GM10 2GM etc etc etc.
Now there are going to be a LOT of these engines so there is a category folder for each one. Please see below for the category structure so that my explanation will make sense
Now I have set up a menu corresponding to each category folder like so...
Then I have set it so that the marine parts page is 3 columns splash.grafikfabrik.co.uk/index.php/marine-parts
Yanmar Page is 2 columns splash.grafikfabrik.co.uk/index.php/marine-parts/yanmar-marine
Marine Engines is a 1 column list splash.grafikfabrik.co.uk/index.php/mari...arine/marine-engines
I set it up like this in the setting for the menus above.
The problem is... To get the products on this page (for example if you click the first engine number 1GM) splash.grafikfabrik.co.uk/index.php/mari...ines/category/14-1gm to be just a 1 column rather than a 2 column, I have to set up ANOTHER category menu and change the setting to 1 column. This would mean adding maybe over a 1000 extra menu items (1 menu for each model number - 1GM 1GM10 2GM etc etc etc) and changing the column setting to 1.
Can I do this without doing what I just described? Or am I going to have to spend a week setting up a huge messy menu?
If you want to log in to the admin area of my site and take a look I have no problem sending you log in details...just PM me.
Thanks!
4) Got that figured out now (I think) So again thank you!!
1) Still troubling me. I'll try and explain it differently.
As far as I can see I don't have any HS modules enabled (see below)...I'm just using the HS menus.
I have my categories set so that the bottom level category is a list of the types of engines we are selling the parts for ....like 1GM 1GM10 2GM etc etc etc.
Now there are going to be a LOT of these engines so there is a category folder for each one. Please see below for the category structure so that my explanation will make sense
Now I have set up a menu corresponding to each category folder like so...
Then I have set it so that the marine parts page is 3 columns splash.grafikfabrik.co.uk/index.php/marine-parts
Yanmar Page is 2 columns splash.grafikfabrik.co.uk/index.php/marine-parts/yanmar-marine
Marine Engines is a 1 column list splash.grafikfabrik.co.uk/index.php/mari...arine/marine-engines
I set it up like this in the setting for the menus above.
The problem is... To get the products on this page (for example if you click the first engine number 1GM) splash.grafikfabrik.co.uk/index.php/mari...ines/category/14-1gm to be just a 1 column rather than a 2 column, I have to set up ANOTHER category menu and change the setting to 1 column. This would mean adding maybe over a 1000 extra menu items (1 menu for each model number - 1GM 1GM10 2GM etc etc etc) and changing the column setting to 1.
Can I do this without doing what I just described? Or am I going to have to spend a week setting up a huge messy menu?
If you want to log in to the admin area of my site and take a look I have no problem sending you log in details...just PM me.
Thanks!
Last edit: 13 years 4 months ago by krstn.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #111393
by nicolas
Replied by nicolas on topic Product listings views
Hi,
1. We never said that the modules should be published.
HikaShop categories listing menus automatically have a products listing module associated to them. You can see a link to it if you look at the HikaShop options of one of your categories listing menu.
The categories listing menu displays the category listing, and the associated modules of the menu display their own content (so a listing of products synchronized with the current category, as it is by default). The menu loads its associated module even if it is unpbulished (that actually allows you to not display it in a position of your template and only on the categories listing menu).
So in short, just edit each one of your products listing modules, set the number of columns to what you want for the products listings and you will see the change.
1. We never said that the modules should be published.
HikaShop categories listing menus automatically have a products listing module associated to them. You can see a link to it if you look at the HikaShop options of one of your categories listing menu.
The categories listing menu displays the category listing, and the associated modules of the menu display their own content (so a listing of products synchronized with the current category, as it is by default). The menu loads its associated module even if it is unpbulished (that actually allows you to not display it in a position of your template and only on the categories listing menu).
So in short, just edit each one of your products listing modules, set the number of columns to what you want for the products listings and you will see the change.
The following user(s) said Thank You: krstn
Please Log in or Create an account to join the conversation.
13 years 3 months ago #111907
by krstn
Replied by krstn on topic Product listings views
BRILLIANT!
Thank you, that is the answer I was looking for. It was the fact that the modules are unpublished that was confusing me.
It all make sense now. Thanks again!!
Thank you, that is the answer I was looking for. It was the fact that the modules are unpublished that was confusing me.
It all make sense now. Thanks again!!
Please Log in or Create an account to join the conversation.
Time to create page: 0.106 seconds