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 03-17-2011 12:16 AM

Re: X-Cart Smart Template v4.4.x
 
IE9 has not been tested yet (was only released Monday)

I do not like committing to use a brand new browser before it's been thoroughly reviewed and tested etc.

I'm guessing it still has trouble rendering some CSS3 elements. You could try this...

skin/smart_template/custom/common/tpl

Replace...
Code:

{if $config.Smart_Template.st_boxes eq "js"}
<!--[if lte IE 8]>

With...
Code:

{if $config.Smart_Template.st_boxes eq "js"}
<!--[if lte IE 9]>


Don't forget, IE9 is only available to Win 7 / x64 users... there's a still a lot of XP users out there.

raveworx 03-18-2011 04:27 PM

Re: X-Cart Smart Template v4.4.x
 
Here's a small enhancement to the template to reduce the number of unused JavaScript files, if you don't have all the options turned on.

File: skin/smart_template/custom/common.tpl

Before:
Code:

<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_width.js"></script>
<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_layout.js"></script>


After:
Code:

{if $config.Smart_Template.st_site_width_switch eq "Y"}
<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_width.js"></script>
{/if}

{if $config.Smart_Template.st_products_layout_switch eq "Y"}
<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_layout.js"></script>
{/if}


sabinudash 03-21-2011 04:28 AM

Re: X-Cart Smart Template v4.4.x
 
Has anyone tried to use carousel for random products on homepage (instead of featured products)? Any suggestions to accomplish this?

Many thanks.

Isleman 03-21-2011 07:02 AM

Re: X-Cart Smart Template v4.4.x
 
I would like to get two rows of products in pager mode on featured products . So instead having three products displayed it will increase to 6.
How can I achieve that ?

jondoe 03-22-2011 11:29 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil, do you know is it possible to set the number of new products from 3 to more?
Jon

PhilJ 03-23-2011 02:39 AM

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

Has anyone tried to use carousel for random products on homepage (instead of featured products)? Any suggestions to accomplish this
sabinudash: In skin/smart_template/custom/featured_pager.tpl

Replace instances of...
Code:

$f_products
With...
Code:

$r_products
Quote:

I would like to get two rows of products in pager mode on featured products . So instead having three products displayed it will increase to 6.
How can I achieve that ?
Isleman: In skin/smart_template/custom/js/paginate/jquery.paginate.min.js

Look for this line...
Code:


perPage : 3, // Number of items per page

Quote:


Hi Phil, do you know is it possible to set the number of new products from 3 to more?

jondoe: You can set the number of products per page in the smart template settings.

More than 3 products per row is suited to a 'fluid or 'full' width layout.

jondoe 03-23-2011 05:33 AM

Re: X-Cart Smart Template v4.4.x
 
Which setting you mean in General settings of Smart Template? I don't see I can change the number of new products

PhilJ 03-23-2011 05:35 AM

Re: X-Cart Smart Template v4.4.x
 
jondoe, the dropdown menu - "Product columns"

jondoe 03-23-2011 05:54 AM

Re: X-Cart Smart Template v4.4.x
 
http://www.ekidult.com/product_columns.JPG

It doesn't work for me.
As I change it to 6, it shows the same 3 products. As I change it to 2, it remains unchange.

jondoe 03-23-2011 06:01 AM

Re: X-Cart Smart Template v4.4.x
 
I've found the answer from your installation manual:

1) To adjust the number of new products on display, edit smart_new_products.php

End of line 4...

DESC LIMIT 3";

^ 3 being the number of new products.


All times are GMT -8. The time now is 03:21 AM.

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