View Single Post
  #3  
Old 07-28-2006, 04:08 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default

Quote:
Originally Posted by balinor
Why not just hard-code the category menu to link right to the product detail page?
Padraic,

Don't forget that I'm still a newbie... I have mastered many parts of the code, but there are many concepts that I don't have a clue...

In this case, I purchased PhilJ's True Three Level Vertical Category Flyout Menu -- so I've added a layer of complexity (maybe not?)

If you were going to hard code a specific product.tpl (let's say I rename it product-majorproduct1.tpl) - where would you start? Would the code look like an if/else -- ?

SInce I have disabled /skin1/customer/categories.tpl, my code may need to be different, but not THAT different.

Let's say you were going to hard code a product detail page into a "stock" categories.tpl --
Code:
{* $Id: categories.tpl,v 1.23 2004/06/24 09:53:29 max Exp $ *} <div id="categories"> {capture name=menu} {if $active_modules.Fancy_Categories ne ""} {include file="`$fancycategories_config.modules_path`/fancy_categories.tpl"} {else} {if $config.General.root_categories eq "Y"} {section name=cat_num loop=$categories} <FONT class="CategoriesList">&raquo; {$categories[cat_num].category}</FONT> {/section} {else} {section name=cat_num loop=$subcategories} <FONT class="CategoriesList">&raquo; {$subcategories[cat_num].category}</FONT> {/section} {/if} {/if} {/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title=$lng.lbl_categories menu_content=$smarty.capture.menu } </div>
Where do we edit?

Surely someone has done this??? What do stores that only sell a few products do? Do they always require the customer to click on a category (thumbnail) page before getting to the product detail? Unfortunately, many xcart stores do this -- in my opinion, a speedbump for the customer.

Thanks for pointing me in a direction...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote