Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

X-Cart Smart Template v4.4.x

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #441  
Old 07-30-2011, 08:30 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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.
__________________
xcartmods.co.uk
Reply With Quote
  #442  
Old 08-01-2011, 11:41 AM
 
dio2006 dio2006 is offline
 

Member
  
Join Date: Apr 2011
Posts: 11
 

Default 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?
__________________
X-Cart
Reply With Quote
  #443  
Old 08-02-2011, 05:52 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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}
__________________
xcartmods.co.uk
Reply With Quote
  #444  
Old 08-04-2011, 12:53 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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; }
__________________
xcartmods.co.uk
Reply With Quote
  #445  
Old 08-04-2011, 02:44 PM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Thumbs up 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
__________________
xcartmods.co.uk
Reply With Quote
  #446  
Old 08-05-2011, 04:49 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default 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?

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}/>
__________________
Xcart 4.5.2
Reply With Quote
  #447  
Old 08-05-2011, 04:57 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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();"
__________________
xcartmods.co.uk
Reply With Quote
  #448  
Old 08-05-2011, 05:55 AM
 
JacksmithxD JacksmithxD is offline
 

X-Adept
  
Join Date: Oct 2010
Posts: 400
 

Default 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!
__________________
Xcart 4.5.2
Reply With Quote
  #449  
Old 08-05-2011, 10:02 AM
 
toolman toolman is offline
 

Member
  
Join Date: May 2009
Location: Ca
Posts: 18
 

Default 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
__________________
4.4.4
Smart Template
Onsale
Buy Together
Kosmos Central
auth.net

www.utopiatools.com
Reply With Quote
  #450  
Old 08-06-2011, 03:01 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default 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!
__________________
xcartmods.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:48 AM.

   

 
X-Cart forums © 2001-2020