I'd really like to add blocks related to products to the main page. For instance the "Products List", the "Products Subcategory List", Top Sellers, Who Bought What Also Bought... etc.
But these blocks are not available on Shop Home Page. Any idea how to get them there anyway?
DickS
tony
30 Jan 2008 9:54 PM
Greetings
Most that you ask for are available, view the Tutorial below see if it helps.
Yes, "most" are but not all. I want to have some blocks that are only in product list/detail to be viewable on the home page too.
Any suggestions how to do that?
DickS
ewoud
31 Jan 2008 10:23 AM
i think you should check out products.php and see where the bit of code for your block is. copy this into index.php (it's something like: else if ..... include/block_support...) if you want to move something that is available only in basket to be available in faq as well > you move the block bit from basket.php to , for instance, articles.php so I figure that the home page is called via index.php.
Then you have to make this available for the admin... I still have to figure this one out, did not have the yime to do this. maybe viart can give a hint?
tony
31 Jan 2008 10:52 AM
Greetings
If the block you want is not available, you might create a
1. Custom block and insert into home page.
OR
2. Use possible Ajax Tabs Content Script
Link:http://www.holleyland.com/viart/ajax_tabs_content_script_v_2_0.html
OR
As Ewoud suggested by playing around with the php coding.
Tony
HolleyLand
chilledsailor
2 Feb 2008 7:19 AM
Hi Dick!
Not sure if this is what you are after - I also wanted to "control" the products on the index page and found the custom block writing "complicated".
What I ended up doing, and I do not have that many products, was using the products(top viewed) block and then adjusted the values for total views by editing the table va_items - field is "total_views" Over the past few months the views have pretty much kept the products where I wanted them as people tend to click on the stuff on top in my store anyway.
For a product I want to feature or put first, I just up the "total views" by a few thousand and, in my case, it stays where I want it.
This gave me a quick way to choose the order of the products displayed on the first page.
Good luck!
Teo
DickS
4 Feb 2008 8:25 AM
THanks everyone for the tips, we'll take a look and see if that helps us.