Hi friends,
Can anyone help me in doing alphabetical listing of products as like below
A B C D E ...... Z
1. When I click the letter A, it should list all the products starting with letter A and so on.
2. It should be display on the current page
If you dont get the above please contact me.
Thank you.
Regards,
Karthikeyan
Can anyone help me in doing alphabetical listing of products as like below
A B C D E ...... Z
1. When I click the letter A, it should list all the products starting with letter A and so on.
2. It should be display on the current page
If you dont get the above please contact me.
Thank you.
Regards,
Karthikeyan
it appears to me to be a horizontal category menu with products in each category starting with the letter of the alphabet
if you notice the urls to each one for example http://www.johnlewis.com/Shop+by+Brand/A/Area.aspx
im guessing the top level category has a seo keyword of Shop+By+Brand, and all sub level categories are the letters of the alphabet. A, B, C etc
This is possible to do, you would need to create a category list that populates all sub categories from the top category, and aligns them right to each other.
pull categorys from top level category then echo the output in a list.
this is just an example and by now means does it work, its just to show you how it would look.
<div id="menu">
<ul>
<li><?php echo $categories; ?></li>
<ul>
</div>
Define the div in the styleheet.
then you would have a little javascript code to place each li horizontal to the last instead of below each other in your header.tpl file.
then you create a top level category called, i dunno, "products"
Then sub level categories called "A", "B", "C", etc etc.
Place all products in the correct categories.
Example url links for each category A, B, C, Etc would be http://www.yourshop.com/Products/A/ and http://www.yourshop.com/Products/B/ and http://www.yourshop.com/Products/C/
As for all products to be displayed below, that requires pulling all products and arranging them in alphabetical order which you could do with a simple sql query
if you notice the urls to each one for example http://www.johnlewis.com/Shop+by+Brand/A/Area.aspx
im guessing the top level category has a seo keyword of Shop+By+Brand, and all sub level categories are the letters of the alphabet. A, B, C etc
This is possible to do, you would need to create a category list that populates all sub categories from the top category, and aligns them right to each other.
pull categorys from top level category then echo the output in a list.
this is just an example and by now means does it work, its just to show you how it would look.
<div id="menu">
<ul>
<li><?php echo $categories; ?></li>
<ul>
</div>
Define the div in the styleheet.
then you would have a little javascript code to place each li horizontal to the last instead of below each other in your header.tpl file.
then you create a top level category called, i dunno, "products"
Then sub level categories called "A", "B", "C", etc etc.
Place all products in the correct categories.
Example url links for each category A, B, C, Etc would be http://www.yourshop.com/Products/A/ and http://www.yourshop.com/Products/B/ and http://www.yourshop.com/Products/C/
As for all products to be displayed below, that requires pulling all products and arranging them in alphabetical order which you could do with a simple sql query
Hi,
I've posted a similar query few months ago http://forum.opencart.com/viewtopic.php?f=110&t=21879. Just post a reply to keep this thread in my posted list so that I can see possible solution.
Regards,
a baby of OC
I've posted a similar query few months ago http://forum.opencart.com/viewtopic.php?f=110&t=21879. Just post a reply to keep this thread in my posted list so that I can see possible solution.
Regards,
a baby of OC
Who is online
Users browsing this forum: No registered users and 13 guests