X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Newest Products (https://forum.x-cart.com/showthread.php?t=1084)

Amy 11-06-2005 12:10 PM

I believe I did it in word pad; will try textpad

Amy 11-06-2005 12:23 PM

THAT WAS IT!!! YOU ROCK!!! Thanks so VERY VERY much for this mod!

lapidarist 11-06-2005 12:29 PM

Quote:

Originally Posted by Amy
I believe I did it in word pad; will try textpad


Sounds like you got some funky characters from your texteditor.

I see that you got it fixed.

Thanks fuzzy for the support.

- james -

fuzzy 11-06-2005 12:35 PM

Quote:

Originally Posted by lapidarist
Quote:

Originally Posted by Amy
I believe I did it in word pad; will try textpad


Sounds like you got some funky characters from your texteditor.

I see that you got it fixed.

Thanks fuzzy for the support.

- james -

No prob.
Using MS Word, Wordpad does add a bunch of unseen stuff that servers
will choke on.
So does FrontPage.
Gotta love MS! LOL!!

Amy 11-06-2005 12:39 PM

now to figure out how to link it from my categories navigation! :)

Amy 11-06-2005 12:45 PM

THANKS TO BOTH OF YOU!!!

Any input on adding it to my navigation or creating a new "box".

below is my categories.tpl page.

Code:

{capture name=menu}[img]http://scrapbook-bytes.com/images/b-1.gif[/img]{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}
{assign var=topmostcat value=$current_category.categoryid_path|regex_replace:"/\/.*/":""}
{if $cat eq $categories[cat_num].categoryid || $current_category.parentid eq $categories[cat_num].categoryid
|| $topmostcat eq $categories[cat_num].categoryid} {$categories[cat_num].category}

{else} {$categories[cat_num].category}

[img]http://scrapbook-bytes.com/images/line-1.gif[/img]{/if}
{if $cat eq $categories[cat_num].categoryid || $current_category.parentid eq $categories[cat_num].categoryid
|| $topmostcat eq $categories[cat_num].categoryid} {section name=subcat loop=$allcategories}
{if $allcategories[subcat].parentid eq $categories[cat_num].categoryid} <a href="home.php?cat={$allcategories[subcat].categoryid}" class="VertMenuItems">{if
$cat eq $allcategories[subcat].categoryid || $current_category.parentid eq $allcategories[subcat].categoryid}{/if}{$allcategories[subcat].category}{if
$cat eq $allcategories[subcat].categoryid || $current_category.parentid eq $allcategories[subcat].categoryid}
{/if}</a>

{if $cat eq $allcategories[subcat].categoryid || $allcategories[$cat].parentid
eq $allcategories[subcat].categoryid || $current_category.parentid eq $allcategories[subcat].categoryid}
&gt;{section name=subcat2 loop=$allcategories} {if $allcategories[subcat2].parentid
eq $allcategories[subcat].categoryid || $current_category.parentid eq $subcategories[subcat2].categoryid}
<a href="home.php?cat={$allcategories[subcat2].categoryid}" class="VertMenuItems">{if
$cat eq $allcategories[subcat2].categoryid}{/if}{$allcategories[subcat2].category}{if
$cat eq $allcategories[subcat2].categoryid}
{/if}</a>

{/if} {/section} {/if} {/if} {/section} [img]http://scrapbook-bytes.com/images/line-1.gif[/img]{/if}
[img]http://scrapbook-bytes.com/images/b-1.gif[/img]{/section}
{else} {section name=cat_num loop=$subcategories} <FONT class="CategoriesList">{$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}


Amy 11-06-2005 12:56 PM

what about an "added date: " field to each product?

Amy 11-06-2005 03:35 PM

Re: .
 
Quote:

Originally Posted by raxitpatel
Is there a Way to Display New added Products Catagorywise - If customer visits specific catagory he can see new products added in that specific main catagory?


input on this one?

JWait 12-11-2005 06:23 AM

Along the same lines as the question posted above...

Is there any way to add "By Date" to the Sort options in each category?

I installed this mod in 4.0.17 and it works like a charm! Great Mod! :D

Amy 01-05-2006 04:10 AM

Here's one for ya..... Any way for this to NOT include "changed" or "updated" products (ie: if someone changes a price in their provider area) as "new".


All times are GMT -8. The time now is 04:57 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.