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 07-30-2011 08:30 AM

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

Hi, when i add new product , i dont see that product on new products area , how can i fix that problem ?

Hi Ilter, it's because you are using the demo products and the 'date added' field for all demo products is set far into the future.

Specifically - Tue, 19 Jan 2038 03:14:07 GMT (!)

You can remedy by using this SQL patch...

Code:

UPDATE xcart_products SET add_date = 1309478400;

Subsequent new products should display fine.

dio2006 08-01-2011 11:41 AM

Re: X-Cart Smart Template v4.4.x
 
How can i change default Products Layout in site preferences? And how can i disable site preferences menu on front page?

PhilJ 08-02-2011 05:52 AM

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

How can i change default Products Layout in site preferences

By reading here. You might need to clear your cookies afterwards.

Quote:

And how can i disable site preferences menu on front page?

In your home template, eg skin1/smart_template/custom/home_3col.tpl

Replace...

Code:

{include file="custom/preferences.tpl"}

With...

Code:

{if $main eq "catalog" && $current_category.category eq ""}
{else}
{include file="custom/preferences.tpl"}
{/if}


PhilJ 08-04-2011 12:53 PM

Re: X-Cart Smart Template v4.4.x
 
This is a small fix for people using the wish list and comparison modules together...

Depending on your columns layout...

skin/smart_template/custom/home_3col.tpl
or
skin/smart_template/custom/home_2col_left.tpl
or
skin/smart_template/custom/home_2col_right.tpl

Replace...

Code:

<div class="colpad">

Or...

Code:

<div class="colpad_body">

With...

Code:

<div class="colpad_body center-main">

Then in skin/smart_template/css/altskin.css

At the end insert...

Code:

#center-main {
  margin: 0 0px;
}


PhilJ 08-04-2011 02:44 PM

Re: X-Cart Smart Template v4.4.x
 
Nice little tip for those using the integrated dynamic search mod.

This will fade out the list of search results when you click elsewhere, as it should really behave.

1) In skin/smart_template/custom/js/smart_dynamic_search/smart_dynamic_search.js

At the end insert...
Code:

function fadeSearch() {
$('#ajax_listOfOptions').fadeOut('slow');
};


2) In skin/smart_template/custom/header.tpl

Replace...
Code:

onblur="if(this.value=='') this.value='{$lng.lbl_product} {$lng.lbl_search}...';"

With...
Code:

onblur="if(this.value=='') this.value='{$lng.lbl_product} {$lng.lbl_search}...';fadeSearch();"

Kudos to Claudio for the great tip ;)

JacksmithxD 08-05-2011 04:49 AM

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

Originally Posted by PhilJ
Nice little tip for those using the integrated dynamic search mod.

This will fade out the list of search results when you click elsewhere, as it should really behave.

1) In skin/smart_template/custom/js/smart_dynamic_search/smart_dynamic_search.js

At the end insert...
Code:

function fadeSearch() {
$('#ajax_listOfOptions').fadeOut('slow');
};


2) In skin/smart_template/custom/header.tpl

Replace...
Code:

onblur="if(this.value=='') this.value='{$lng.lbl_product} {$lng.lbl_search}...';"

With...
Code:

onblur="if(this.value=='') this.value='{$lng.lbl_product} {$lng.lbl_search}...';fadeSearch();"

Kudos to Claudio for the great tip ;)


Mine seems a little different? Am i putting it in the correct place? :o

input id="st_search_input" name="posted_data[substring]" type="text" value="Ink Cartridge Model... e.g Epson T0711" onblur="if(this.value=='') this.value='Ink Cartridge Model... e.g Epson T0711';" onfocus="if(this.value=='Ink Cartridge Model... e.g Epson T0711') this.value='';" {if $config.Smart_Template.st_dynamic_search eq "Y"}onkeyup="ajax_showOptions(this,'getProduct',ev ent)" onblur="this.form.submit();" {/if}/>

PhilJ 08-05-2011 04:57 AM

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

Code:

onblur="if(this.value=='') this.value='Ink Cartridge Model... e.g Epson T0711';"

With...

Code:

onblur="if(this.value=='') this.value='Ink Cartridge Model... e.g Epson T0711';fadeSearch();"

JacksmithxD 08-05-2011 05:55 AM

Re: X-Cart Smart Template v4.4.x
 
Thanks Phil, works great! I do have one question for you though, in IE my xCMS blog keeps dissapearing, I got told it was down to the Testimonials mod the way it refreshed and a new testimonial gets displayed, so i removed the testimonials mod (as far as i'm aware) but it still happens so i'm not sure if i have removed it correctly but i would idealy like both mods of course!

I can only assume it's the testimonials mod as everytime it changed it made the xCMS go invisible. (If you scrolled over the articles it would appear again. (the one your hovering over)

(also the stars to rate a testimonial dissapeared, again this was just in IE) confused much!

It's really annoying, seems like its only IE though.

(The mod is removed now, as far as i'm aware)

Thanks again!

toolman 08-05-2011 10:02 AM

Re: X-Cart Smart Template v4.4.x
 
Hello,

This template is awesome! One problem we are having is with shipping methods being displayed on checkout page. Its great when we only offer usps, but once we enable UPS, the shipping field displays a drop down menu and it always defaults to UPS. Is there any way to displays ALL available shipping methods in one list with radio buttons? We offer a free shipping deal on USPS Priority. This used to be our default shipping method before we ran into this problem so there was never any confusion with our customers, but now they are overlooking the pre-selected shipping method (yes, even with the giant UPS logo being displayed :P ) and being charged shipping anyways.

also, you seem to have to click "apply" before selecting a shipping method. Is there any way to disable this?

TIA

PhilJ 08-06-2011 03:01 AM

Re: X-Cart Smart Template v4.4.x
 
JacksmithxD, the testimonials and xcms mods should not clash in anyway. From what you are saying, having removed the testimonials mod, the issue is still happening. It might just be a simple CSS issue, or a missing div tag in the xcms menu code.

toolman, thanks! The template doesn't actually affect any part of the checkout procedure, so what you are experiencing is probably just one of the many annoyances with the OPC I'm afraid... I'd check the bugtracker. Or it might be worth switching to one of the few third party checkout mods around.

Sad state of affairs when probably the most essential part of x-cart is poorly executed and full of bugs, now we have to wait until after september for the next release to see if there's any improvements! #-o


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

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