X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues (https://forum.x-cart.com/showthread.php?t=38809)

kube 04-04-2008 09:53 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
What file are you calling to produce the those items? Is it customer/main/products.tpl or have you replicated the file and used it to fashion it your own way?

toolexperts 04-04-2008 10:06 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
It's actually the mod for the featured items that allows it to display on the right bar

kube 04-04-2008 10:17 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
Ah right ok (x-cart's default featured mod correct?)

If this is so then what happened to the var &featured that gets applied to the end of the url? Although it still will not work with your store, I am just wondering what exactly you have altered.

In your home.tpl file did you call featured items within the TD VertMenuRightColumn like so?...

{include file="customer/main/featured.tpl" f_products=$f_products}

toolexperts 04-04-2008 10:38 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
yeah...i figured it out though in the menu_fetured.tpl, in that cat area it was showing just {cat} so I assigned it cat 330...it worked...so now it looks like

<a href=product.php?productid={$f_products[num].productid}&cat={330}&page={$navigation_page}>>
{include file="product_thumbnail.tpl" productid=$f_products[num].productid image_x=75 product=$f_products[num].product tmbn_url=$f_products[num].tmbn_url}
</a>

kube 04-04-2008 10:50 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
I'm pretty sure it's something else as it shouldn't be reliant on the cat id for featured items but that was the only difference that was occuring.

Also you should be weary of your code that you're outputting... above you have an extra > after {$navigation_page}>. And for your bestsellers you still have an extra } being printed. If these were to be cleaned up and rechecked you'll probably find out why the options are coming up with errors.

toolexperts 04-04-2008 10:54 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
yeah i am looking into it still as my search, and recommended items are doing the same thing...

toolexperts 04-04-2008 11:13 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
i cleaned that code up now it's not doing the bestsellers right...funny thing is it's only happening on the main page

toolexperts 04-04-2008 11:34 AM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
I give up...i can't figure it out 3 things are busted...

toolexperts 04-04-2008 12:19 PM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
if someone could give me some possible files that may be causing the issue I can look at them

kube 04-04-2008 12:30 PM

Re: Kube, Balinor, ANyone, PLease help, saerch, featured items, and bestellers issues
 
What about comparing them to the original files you have. Say, in /skin1_original or the files that you started with?


All times are GMT -8. The time now is 05:30 AM.

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