X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   X-Cart Smart Template v4.4.x (https://forum.x-cart.com/showthread.php?t=55088)

PhilJ 01-08-2011 12:50 PM

Re: X-Cart Smart Template v4.4.x
 
Shareen, the code you mention should only display products that are "Available for sale".

Regarding "free" products, that could be a bug with x-cart.

Mick, to change the tax rate, in skin/smart_template/custom/

featured_new_products.tpl
featured_random_products.tpl
featured_carousel.tpl
featured_pager.tpl

Change..
Code:

{$config.General.currency_symbol}{math equation="x * y" x=$r_products[product].price y=1.175 format="%.2f"}
to...
Code:

{$config.General.currency_symbol}{math equation="x * y" x=$r_products[product].price y=1.2 format="%.2f"}

PhilJ 01-08-2011 01:09 PM

Re: X-Cart Smart Template v4.4.x
 
Quote:


The template has problem showing new product's thumbnail.

Jondoe, sometimes x-cart is sensitive with certain image formats, try uploading a PNG thumbnail instead.
Quote:

How do I define the number of products shown on each pagination for "featured products pager"?

skin/smart_template/custom/js/paginate/jquery.paginate.js
Look for...
Code:


perPage : 3, // Number of items per page

Also, in skin/smart_template/custom/common.tpl
Change...
Code:


<script type="text/javascript" src="{$AltSkinDir}/custom/js/paginate/jquery.paginate.min.js"></script>

to...
Code:


<script type="text/javascript" src="{$AltSkinDir}/custom/js/paginate/jquery.paginate.js"></script>

And in skin/smart_template/custom/css/common.css
Change...
Code:


ul.feat_pager li { margin: 0; padding: 0; text-align: center; width: 33.33%; /* Pager Column Width */ }

4 columns = 25% etc.

candc 01-08-2011 01:16 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks Phil, had already done that with no luck.

Tried it on the other site now, and it worked fine.

So one site is ok, the other isn't :D

sparker2 01-08-2011 04:51 PM

Re: X-Cart Smart Template v4.4.x Random Product Mod
 
Phil so are you saying that I am stuck with my issues with the Random Products and also products not showing correctly when they are priced 0.00.

PhilJ 01-08-2011 04:54 PM

Re: X-Cart Smart Template v4.4.x
 
No, not at all, let me do some testing and I'll get back to you.

sparker2 01-09-2011 08:43 AM

Re: X-Cart Smart Template v4.4.x Random Product Mod
 
Ok Thank you very much Phil for your reply. Hopefully it will be something easy that we can change in the code.

Mr. G 01-09-2011 09:04 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
I hope you had a good vaca. When you get a chance, can you get to my post back on 12/28 here: http://forum.x-cart.com/showpost.php?p=305708&postcount=117
TIA!

mpepel 01-09-2011 09:28 PM

Re: X-Cart Smart Template v4.4.x
 
Phil,
My Vertical menu is functioning weird.
With ⌠Enable vertical flyout category■ menu shows ⌠Tree-like expanding■; also background is missing┘ nothing similar to your DEMO.
I am not sure if I have all necessary files (do I need ⌠ul#vnavmenu■?).
Thanks,
Klemens

jondoe 01-10-2011 12:35 AM

Re: X-Cart Smart Template v4.4.x
 
Why it shows a messy page which is a new create category filled with 3 items only? The left panel totally disappeared and the table border is totally messed up:
http://www.ekidult.com/preorder
It shows no problem when I use any default xcart's template.

Quote:

Originally Posted by PhilJ
Jondoe, sometimes x-cart is sensitive with certain image formats, try uploading a PNG thumbnail instead.

skin/smart_template/custom/js/paginate/jquery.paginate.js
Look for...
Code:


perPage : 3, // Number of items per page

Also, in skin/smart_template/custom/common.tpl
Change...
Code:


<script type="text/javascript" src="{$AltSkinDir}/custom/js/paginate/jquery.paginate.min.js"></script>

to...
Code:


<script type="text/javascript" src="{$AltSkinDir}/custom/js/paginate/jquery.paginate.js"></script>

And in skin/smart_template/custom/css/common.css
Change...
Code:


ul.feat_pager li { margin: 0; padding: 0; text-align: center; width: 33.33%; /* Pager Column Width */ }

4 columns = 25% etc.


PhilJ 01-10-2011 09:09 AM

Re: X-Cart Smart Template v4.4.x
 
Quote:

Why it shows a messy page which is a new create category filled with 3 items only? The left panel totally disappeared and the table border is totally messed up:
http://www.ekidult.com/preorder
It shows no problem when I use any default xcart's template.
The smart template has a pure CSS layout for products display, unlike the default x-cart, which uses tables.
So any badly formed HTML may break the layout.
Ensure that your product descriptions are well formed, ie. no unclosed DIV tags etc.


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

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