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

JacksmithxD 08-07-2011 09:12 AM

Re: X-Cart Smart Template v4.4.x
 
Okay, no worrys. It's just bugging the life out of me. So many bugs with xcart it's stupid. :(

toolman 08-08-2011 08:26 AM

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

Thanks for clarifying! We shall see what they come up with. :?

PhilJ 08-11-2011 04:12 AM

Re: X-Cart Smart Template v4.4.x
 
1 Attachment(s)
Anyone wishing to display bestsellers in horizontal format... (not in side menu)

1) Adjust the bestseller module settings to disable the bestsellers in the menu.

2) Upload the attached bestsellers.tpl file to...

skin/smart_template/modules/Bestsellers

3) In modules/Bestsellers/bestsellers.php

Before...

Code:

$smarty->assign_by_ref('bestsellers', $bestsellers);

Insert...

Code:

# Get Bestseller Product Descriptions
foreach ($bestsellers as $k => $v) {
$bestsellers[$k]['descr'] = func_query_first_cell("select descr from $sql_tbl[products] where productid='$v[productid]'");
}


4) Clear template cache.

JacksmithxD 08-15-2011 05:38 AM

Re: X-Cart Smart Template v4.4.x
 
Phil when are you available for support as I will buy an hour of your time next week if possible, if not can you tell me a date? :)

costanza 08-17-2011 03:13 PM

Re: X-Cart Smart Template v4.4.x
 
Great Template! Does anyone know how to edit the Social Bookmarking links that show up on the product details page? I just want to remove the "email link" .

PhilJ 08-18-2011 04:00 AM

Re: X-Cart Smart Template v4.4.x
 
Jack, I PM'd you a few days ago.

constanza, in skin/smart_template/custom/js/social/social.tpl

Choose which icons to display by editing this line...

Code:

buttons: "Facebook,Twitter,Linkedin,Digg,Technorati,Delicious,Yahoo,Google,Live,Newsvine,Reddit,Stumbleupon,Misterwong,Mail",

ie. remove...

Code:

,Mail

dio2006 08-21-2011 10:20 AM

Re: X-Cart Smart Template v4.4.x
 
1 Attachment(s)
1. News module is published, but not showing on the front-end.. News just showng in Authentication - Register menu. I cleared my cleanup.php and web browser's cache. Screen file included.

2. Fetured product is published, but not showing on the front-end. Screen file included.

3. Needs change New products and random products layout.


http://imageshack.us/photo/my-images/703/skro.jpg/http://imageshack.us/photo/my-images/703/skro.jpg/

lostsoul 08-24-2011 06:08 PM

Re: X-Cart Smart Template v4.4.x
 
Can anyone help me or direct me to post on how to change the random image thing under the Welcome text on the front page. Where it starts with LOREM IPSUM DOLOR

Thanks.

dio2006 08-24-2011 07:08 PM

Re: X-Cart Smart Template v4.4.x
 
You need to edit file slider.tpl
skin/smart_template/custom/slider.tpl

flyclothing 09-06-2011 10:10 PM

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

Just getting ready to create an affiliate program and noticed the affiliate page doesnt match the rest of the site or template. I tried adjusting it but doesn't match. How can I get the header and footer to match the website?

ediruzza 09-13-2011 08:25 AM

Re: X-Cart Smart Template v4.4.x
 
Any news on the release date for the updated Smart Template skin? Site still says end of August. Just wondering if anyone has any ideas on the delay.

flyclothing 09-13-2011 08:46 AM

Re: X-Cart Smart Template v4.4.x
 
The update is not an updated Smart Template but a completely new template. I have been waiting since July.

sparker2 09-18-2011 02:55 PM

Re: X-Cart Smart Template v4.4.x
 
Hello everyone, I just completed a fresh install of x-cart version 4.4.3 and smart template v 4.4.x and now the NIVO SLIDER does not work after I change it to add my own products and images. Do any of you know of a bug or other issues with using the NIVO SLIDER with this version of x-cart? Here is the code that I have in the slider.tpl

<div id="slider" class="nivoSlider">
<a href="product.php?productid=257"><img src="http://stitches4u.com/images/slider/image_1" alt="" title="" /></a>
<a href="product.php?productid=137"><img src="http://stitches4u.com/images/slider/image_2" alt="" title="" /></a>
<a href="product.php?productid=571"><img src="http://stitches4u.com/images/slider/image_3" alt="" title="" /></a>
<a href="product.php?productid=910"><img src="http://stitches4u.com/images/slider/image_4" alt="" title="" /></a>
<a href="product.php?productid=123"><img src="http://stitches4u.com/images/slider/image_5" alt="" title="" /></a>
<a href="product.php?productid=345"><img src="http://stitches4u.com/images/slider/image_6" alt="" title="" /></a>
<a href="product.php?productid=678"><img src="http://stitches4u.com/images/slider/image_7" alt="" title="" /></a>
<a href="product.php?productid=910"><img src="http://stitches4u.com/images/slider/image_8" alt="" title="" /></a>
<a href="product.php?productid=345"><img src="http://stitches4u.com/images/slider/image_9" alt="" title="" /></a>
</div>


Thank you very much in advance for your help and time.

hooter 09-18-2011 06:16 PM

Re: X-Cart Smart Template v4.4.x
 
You are missing the file extension on your image names. Correct img src URL for your first image should be:
Code:

http://stitches4u.com/images/slider/image_1.jpg
and so on for the rest of them.

sparker2 09-18-2011 06:33 PM

Re: X-Cart Smart Template v4.4.x
 
Thank you. dont know how I missed that.

sparker2 09-18-2011 06:37 PM

Re: X-Cart Smart Template v4.4.x
 
I have been out of the loop for a while with my cart, has Phil come out with any new versions of the template yet because I am also having a problem with my product list page and the way it is displaying some products. It seem to be missing the hr tag in between some products.

hooter 09-19-2011 07:37 AM

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

Originally Posted by sparker2
Thank you. dont know how I missed that.

Sorry, I wasn't paying attention before...ideally you should be using a relative path to each of those images, not a hard-coded URL otherwise you will be faced with insecure warnings for visitors when accessing via https

PhilJ 09-19-2011 08:03 AM

Re: X-Cart Smart Template v4.4.x
 
sparker2, you could create a new directory...

skin/smart_template/custom/images

Upload your slider images there.

Then use...

<a href="product.php?productid=257"><img src="{$AltSkinDir}/custom/images/slider/image_1.jpg" alt="" title="" /></a>
<a href="product.php?productid=258"><img src="{$AltSkinDir}/custom/images/slider/image_2.jpg" alt="" title="" /></a>

etc.

v4.4.4 is released today, so I will be testing the template ASAP... Updates are free as always.

I'm also launching a brand new template shortly, with many more features.

It was due out in August, but I have decided it was best to wait for v4.4.4.

ediruzza 09-19-2011 08:08 AM

Re: X-Cart Smart Template v4.4.x
 
@PhilJ

How long after 4.4.4 do you think you will release the new template?

Chomping at the bit....

KCAutosound 09-20-2011 05:13 PM

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

Originally Posted by ediruzza
@PhilJ

How long after 4.4.4 do you think you will release the new template?

Chomping at the bit....


I'm moving into v4.4.4 from an old 4.0.19 site. Does this template not work with the newest release? Anyone tried it yet? I'm looking to purchase and get this site going. Remote Starter season is about to hit and this is when my site comes alive with business.

PhilJ 09-20-2011 05:34 PM

Re: X-Cart Smart Template v4.4.x
 
It works just fine with v4.4.4 - the only thing that will be missing is the new 'socialize' module/facebook comments module that they introduced on the product pages.

I am testing the template with v4.4.4 here

But some initial bugs are emerging, you should be able to find fixes here and https://bugtracker.qtmsoft.com/view.php?id=40348

Edit: Socialize/Wibyu modules have been added.

KCAutosound 09-20-2011 05:38 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks for the fast reply. I had submitted a support ticket on your site but figured I'd see if anyone has tried it yet. I'm ready to purchase when you say go. I've talked with "others" about custom skins but honestly I just want something easy and cheap. My customers keep coming with the basic thing I got now so I think your template will be great.

PhilJ 09-23-2011 06:02 AM

Re: X-Cart Smart Template v4.4.x
 
3 Attachment(s)
Seeing as this thread has received over 30k views, I've reduced the price of the template by $30 for a limited time :)

The template is v4.4.4 compatible. Existing purchasers can upload the attached updated files below...

skin/smart_template/customer/main/product_details.tpl
skin/smart_template/modules/Customer_Reviews/vote_reviews.tpl
skin/smart_template/customer/home.tpl

Tony Pearce 09-23-2011 06:06 AM

Re: X-Cart Smart Template v4.4.x
 
Makes you wonder why X-cart didnt do this type of thing themselves!!

Hats of to Phil for a great mod.

Tony

KCAutosound 09-23-2011 06:07 AM

Re: X-Cart Smart Template v4.4.x
 
OK. I thought I was tripping..lol I had it saved to my cart and when I went to purchase it last night I noticed that it was cheaper.

flyclothing 09-23-2011 09:09 AM

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

Was there something wrong with these files and should they be changed?

skin/smart_template/customer/main/product_details.tpl
skin/smart_template/modules/Customer_Reviews/vote_reviews.tpl

PhilJ 09-23-2011 11:56 AM

Re: X-Cart Smart Template v4.4.x
 
No, just adds the code for the new Socialize module.

sparker2 09-24-2011 03:01 AM

Re: X-Cart Smart Template v4.4.x
 
Can some please tell me the step by step instruction to add a new tab to the smart tabs for products? I would like to add a new tab and have looked at the tabs.tpl file and copied and pasted one of the other sections then changed the name but it will only show the tab information that it was copied from even though I gave it a new name. I just want to display some simple txt in it so I created a txt language with the txt that i would like displayed and as you have guessed it, I got know where. Thank you very much for your help. The new tab is going to be called Machine Formats and I want it to list some txt. Site is closed so if you need me to open it so you can see, just PM.

sparker2 09-24-2011 03:03 AM

Re: X-Cart Smart Template v4.4.x
 
Sorry! spoke to soon before I took another look at the code. I got it working now. Thanks guys

bullfrog 09-26-2011 01:04 PM

Smart Template 4.4.4 and Altered Cart One Page Checkout
 
Is anyone using Smart Template with 4.4.4 and also using Alteredcart.com's One Page Checkout successfully? My Smart Template 4.4.4 is ok and I want to try OPC with it, but would feel better about buying OPC if someone would report a positive experience using both.

Thanks!


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

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