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)

Mudjocky 01-25-2011 12:22 PM

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

Originally Posted by PhilJ
chamberinternet, look for and change the height in #st_footer_center { ... }

mpepel, make sure you have added international titles/descriptions etc. for your products (?)

ilter, IE8 will run sluggishly if you have all features enabled on the homepage. Chrome, FF etc. all run nicely.

Mudjocky,
Featured Products - skin/smart_template/custom/featured_xxxx.tpl (carousel or pager) - Insert {$f_products[product].productcode}
New Products - skin/smart_template/custom/featured_new_products.tpl - Insert {$n_products[product].productcode}
Random Products - skin/smart_template/custom/featured_new_products.tpl - Insert {$r_products[product].productcode}

The new and random products functionality requires further customisation, in order to appear on category pages.


Cant get this to work.....suggestion?

PhilJ 01-26-2011 08:09 AM

Re: X-Cart Smart Template v4.4.x
 
To fix the incorrect display of bonus points, please do the following...

1) skin/smart_template/css/altskin.css

At the bottom insert...
Code:

/*----------------------------------------*/
/**
* Bonuses view
*/
.bp-icon-header {
height: 35px;
text-align: center;
vertical-align: middle;
color: #ff6d00;
font-weight: bold;
font-size: 18px;
background: transparent url(../../common_files/modules/Special_Offers/images/bp_icon_top_middle.gif) repeat-x;
}
.bp-icon-footer {
height: 19px;
text-align: center;
vertical-align: middle;
color: #fff;
font-weight: bold;
font-size: 10px;
white-space: nowrap;
background: transparent url(../../common_files/modules/Special_Offers/images/bp_icon_bottom_middle.gif) repeat-x;
}


2) In skin/smart_template/custom/css/common.css

Find and delete or comment out this line (around line 263)...
Code:

td { padding: 3px; }

3) Run cleanup.php

mpepel 01-26-2011 10:02 AM

Re: X-Cart Smart Template v4.4.x
 
PHIL,
Sorry, language in New Products still doesn▓t work. I think it has to do something with
Code:

{if $config.Smart_Template.st_featured_simple ne "Y"}
        {include file="customer/simple_products_list.tpl" products=$n_products}

in skin/smart_template/custom/featured_new_products.tpl.
When I change n_products to products=$f_products √ works perfect; also products=$products √ works OK. But $n_products is not translating at all.
I appreciate for any help.

Klemens
www.rozmach.com

Mr. G 01-26-2011 12:55 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
Can you get to my question here, please? http://forum.x-cart.com/showpost.php?p=307209&postcount=159
Thanks!

PhilJ 01-26-2011 01:22 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Mr. G, sure, here we go...

1) Turn off the category caching, as it's buggy. You can do so from 'Modules > Flyout menus'.

2) skin/smart_template/css/altskin.css

Replace...

Code:

font.bread-crumb {
  font-size: 1.0em;
}


with...

Code:

font.bread-crumb {
  font-size: 1.0em;
line-height: 1.5em;
}


3) skin/smart_template/customer/authbox.tpl

Remove class="last" from ...

Code:

    <li><a href="help.php?section=Password_Recovery" title="{$lng.lbl_forgot_password|escape}" class="last">{$lng.lbl_forgot_password}</a></li>

Then after, insert...

Code:

<li><a href="xxxx.html" title="xxxx" class="last">xxxx</a></li>

4) You can use any of the default jQuery easing styles.

This is the carousel plugin used if you want to customise further.

Just a heads up, I recently noticed is that the carousel slows down considerably in IE if you have Cufon enabled in the smart template settings...

To remedy that, do the following...

1) skin/smart_template/custom/featured_carousel.tpl

Change...

Code:

<h3><a href="product.php?productid={$f_products[product].productid}&amp;featured=Y">{$f_products[product].product}</a></h3>
To...
Code:

{if $config.Smart_Template.st_cufon eq "Y"}<h4>{else}<h3>{/if}<a href="product.php?productid={$f_products[product].productid}&amp;featured=Y">{$f_products[product].product}</a>{if $config.Smart_Template.st_cufon eq "Y"}</h4>{else}</h3>{/if}
2) skin/smart_template/custom/css/common.css

After...
Code:


ul#feat_carousel .feat_block h3 { width: 90%; height: 60px; margin: 0; padding: 0; font-weight: bold; font-size: 1.2em; }
ul#feat_carousel .feat_block h3 a { text-decoration: none; }

Insert...
Code:


ul#feat_carousel .feat_block h4 { width: 90%; height: 60px; margin: 0; padding: 0; font-weight: bold; font-size: 1.2em; }
ul#feat_carousel .feat_block h4 a { text-decoration: none; }


Mr. G 01-26-2011 02:45 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks Phil!
1. I added my $.02 to the bug report.
2. Looks great!
3. Oops. I want to add an <li> to the box after login...

PhilJ 01-26-2011 03:27 PM

Re: X-Cart Smart Template v4.4.x
 
3) In that case, just add the same code after...
Code:


<a href="javascript:void(0);" onclick="javascript: setTimeout(function() {ldelim}document.loginform.submit();{rdelim}, 100);" class="last">{$lng.lbl_logoff}</a>
</form>
</li>


bhal@inforeem.com 01-26-2011 05:05 PM

Re: X-Cart Smart Template v4.4.x
 
Dear Phil,
I am facing a problem on Checkout page where on the right side of page few menu items like Shopping Cart | Contact us are overlapping with My Account and Sign Out.

Thanks.
http://forum.x-cart.com/attachment.p...2&d=1294260931
__________________
x-cart 4.4.1

sabinudash 01-27-2011 01:15 AM

Re: X-Cart Smart Template v4.4.x
 
In Chrome browser, site logo appears towards the center of the page. Any suggestions to fix it?

It appears fine on firefox and IE though.

jondoe 01-27-2011 06:17 PM

Re: X-Cart Smart Template v4.4.x
 
Hi phil, I've posted new products through importing csv but the new products aren't shown in the New Product's panel. Do you know why?


All times are GMT -8. The time now is 12:03 PM.

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