Featured product on any pages
Hello,
I'm currently working on a template with the featured item module in the template, so it should appear on every page, but it obviously only works on the main page and the products pages. Is there a way to make it work even on the CMS's pages? |
Re: Featured product on any pages
I'm sure there is a way, but you may need to provide us with more info. What CMS are you referring to? X-cart's default static pages?
|
Re: Featured product on any pages
Sorry, I meant the Static pages system in xcart, wrong term :D
Here's the main page, the featured item section is on the bottom of the page http://www.coachhouseantique.com/ and i would for it to appear on pages like: http://www.coachhouseantique.com/sell-to-us.html and http://www.coachhouseantique.com/help.php?section=contactus&mode=update I'm using a customized version of the fashion mosaic grey skin for a template. |
Re: Featured product on any pages
Got it. It looks like some variables are not being assigned to smarty on those pages, you can see the section being created in the source but the content is blank.
Using webmaster mode you can determine what variables are being loaded on a particular page, and that will give you clues as to what to search for in the php. Is this a custom module allowing this function? if so you can trace through the installation instructions and see where the variables are assigned. Then you can add that code to pages.php and help.php |
Re: Featured product on any pages
Whoah, I just noticed something I'm sure you will want to know, the drop down menus on the site are not working in IE 9 on Windows 7.
|
Re: Featured product on any pages
Quote:
No, it's the available Featured product module available with the default install of xcart. The issue here, is i think it was not made to go on the static pages, only the the category pages. As per the text in it: " This section allows you to define featured products to be shown on the category level chosen in the form above." and I'm trying to find a work around this. |
Re: Featured product on any pages
Quote:
thanks for that, I'll look into. Bizarre tough, since it's the included drop down menu from the default xcart install. |
Re: Featured product on any pages
Featured products are category based only. Since they are defined by category there is no way to show them on non-category page - category doesn't exists there. If you want to have some sort of "featured product(s)" on non-category pages this has to be custom coded
|
Re: Featured product on any pages
TotalTec explains how to do this very thing in another thread. http://forum.x-cart.com/showthread.php?t=61046&highlight=add+products+to+s tatic+pages
Worked for me kind of. Just have to play with it to make it look correct. |
Re: Featured product on any pages
Yes custom coded :) But it should work
|
All times are GMT -8. The time now is 05:55 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.