PDA

View Full Version : Category/Product at Storefront


lfreeman
04-05-06, 12:32 AM
I am trying to call up a specific category at the storefront and display it's single product but its not working? I am doing this within the storefont message and using this code:
<mvt:if expr="g.Category_Code EQ feature">
<mvt:item name="product_display" />
</mvt:if>

Bruce - PhosphorMedia
04-05-06, 12:46 AM
The item reference, relies on Merchant "pre-processing" the data for that item. However, Merchant doesn't do that on the StoreFront. You would need another method to call Merchant and have it create the data stream for a particular category.

lfreeman
04-05-06, 01:59 AM
Do you happen to have any ideas on how I might approach this? Anyone?

Hearth_and_Mantel
04-05-06, 02:40 AM
If you go to my store, you can see a quick and dirty way that I did this.

When you go to the storefront www.hearthmantel.com you get the introductory messages, but no products - but if you click on the HOME button at the near top left of the screen, you get the exact same screen, but you get products listed below the introductory text.

Of course, getting customers to do this is impossible, but if you look at the URL address after you click the HOME button, you'll see the URL that you would need to redirect the home page to in order to make this work.

I *did* purchase a Module that allows you to display an entire category in any page, but I am having trouble making it work properly - trouble with the hosting company, not the module.

If anyone can show an easy way to do this, the orginal poster and I will be eternally grateful!

Troy Richardson
Hearth & Mantel
www.hearthmantel.com

lfreeman
04-05-06, 03:02 AM
Maybe this is what I am looking for?
http://tinyurl.com/j8q2l

Bruce - PhosphorMedia
04-05-06, 03:45 AM
Well, you could simply make the "StoreFront" page link to ?Screen=CTGY&Category_Code=ThisCategory.

You could use an .htaccess directive to send folks there instead of /index.html or the storefront.

lfreeman
04-05-06, 04:56 AM
That's a possibility but in this case I want to call up more than one category ...

Pete McNamara
04-05-06, 05:27 AM
I think the Wow Wow Widgets module may enable you to do what you are seeking.

sebenza
04-05-06, 08:10 AM
Did you assign all the proper "Items" to the SFNT Page template? Assign the same items that CTGY has and see if that does anything... if you havent already tried this.

Hearth_and_Mantel
04-05-06, 02:50 PM
lfreeman (http://extranet.miva.com/forums/member.php?u=150),

Yes, that is the product that I purchased, and it's really easy to set up a special category, and then put a couple of lines of code into whatever page you want to display that category on.

I'm leaving the country for a couple of weeks, but when I return, I'm going to solve this problem, either with my new hosting company which goes live today, or through straight coding.

Good luck with your solution while I"m gone!

Troy Richardson
Hearth & Mantel
www.hearthmantel.com

latu
04-05-06, 05:07 PM
I think the Wow Wow Widgets module may enable you to do what you are seeking.

Yes, the Wow Wow Widgets has that ability.

Wow Wow Widgets v5
http://store.latu.net/miva-modules-5/LATU-WIDGETS.html

It provides more flexibility than using the built-in category item and does not require that a Category_Code variable be passed to the page.

Multiple examples are included with the module.

BlueEgg
04-07-06, 01:03 AM
I use Sebenza Category Template Master and created a template for "featured products". I added the store front message to the bottom of the template and assigned it to my "featured" category. By doing this, I can add whatever products I want to the store front at any time. I then made the "featured" category page my home page.

Robin
www.theskinsavers.com