- Posts: 490
- Thank you received: 2
how to make a product grid view
the other links such as http://...store?columns=2 and
http://...h/store?columns=3 doesnt work
also nic
i hope its ok,can you please remove my website link on your reply posts just for security reasons.
thanks a lot
Please Log in or Create an account to join the conversation.
Not at the end of the file ; just at the end of the added line :
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
In that case the solution will be to use that PHP condition to check if we are in a module or not :
Please Log in or Create an account to join the conversation.
how do i complete this?
Please Log in or Create an account to join the conversation.
When you write some code in the forum ; please use the "code" tag.
I am afraid that "it is not working" is not clear enough to understand what is not working exactly.
Now regarding your code, I can see a missing closing bracket.
If you want to learn PHP ; I suggest you to look for websites specialized in that domain.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
let me explain. i got the code below to work but my carousel modules are all in a list or single column because of code below.
mohammed thejii gave me the code below but i dont know how to use it.
hi and thank you Mohamed Thelji
what should i do with this please?
Hello,
In that case the solution will be to use that PHP condition to check if we are in a module or not :Code://If we are on a product listing module if($this->module){ }
Please Log in or Create an account to join the conversation.
As Jerome said, you're missing a bracket. The code should be:
Please Log in or Create an account to join the conversation.
i got this to work.
my next issue are the filters.
i created a sort filter, price range filter, search filter and others. all of these filters are not working together. example i searched for rings on the text search. if i click on sort the results reset or re-set. So instead of narrowing the results down it restarts. Its like its back to the original setting of the individual filters.
i also tried disabling force redirect on the module. the filters still doesnt respond accordingly.
this is the link. Please try to search for anything in the text search and try using the filters. the text you typed will be erased or reset.
Part of the message is hidden for the guests. Please log in or register to see it.
thanks again
Please Log in or Create an account to join the conversation.
The issue is that your text search filter is in a different module than the sort filter. And each filter module is independent from one another.
You could try to turn on the "redirect POST mode" setting of the HikaShop configuration. It might help. But the best would be to have only one filter module with all the filters.
Please Log in or Create an account to join the conversation.
1.i would like to know please how come on small screens particularly Tablet portrait (768x1024) and below the columns wont separate in two or three columns. i think its because of the bootstrap. Can you point me where to fix this?
2. i would like my layout to change from img and description for single columns to image and title view for 3 or more columns, 2ould it be correct to add this small code as a solution.
also where to add this?
thanks
thanks
Please Log in or Create an account to join the conversation.
1. Bootstrap CSS handles the switch from several columns to 3, but there is no intermediate.
It would require adding custom CSS to handle that such as:
2. You can use such code:
$this->params->set('div_item_layout_type','img_title');
Please Log in or Create an account to join the conversation.