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)

JDAM1 02-15-2011 08:47 AM

Re: X-Cart Smart Template v4.4.x
 
Bullfrog, thank you for your post. Webmaster mode is great and have used it quite extensively. But the checkout page seems a little complicated on my part in finding the file to change the page width. With Smart Template I am using Crimson template - looked in common_files, smart_template and the folders and files within.

PhilJ 02-15-2011 04:50 PM

Re: X-Cart Smart Template v4.4.x
 
To change the layout width at checkout, in skin/smart_template/customer/home.tpl

Change... (around line 30)
Code:


 
.container_fixed { width: 100%; }

To...

Code:


.container_fixed { width: 970px; }


JDAM1 02-15-2011 05:01 PM

Re: X-Cart Smart Template v4.4.x
 
PhilJ, thank you for helping me out with the one page check out width. Must say Smart Template is a very nice and clean template... Worked with other templates for x-cart, but this is by far the easiest to work with. The CSS files look very clean and easy to read in comparison to xcart... Or maybe there's no comparison? Thanks again!

mpepel 02-16-2011 12:59 PM

Re: X-Cart Smart Template v4.4.x
 
Can someone help me √ please - to find out, if ⌠Product-Title■ (not "dialog-title") inside ⌠New Products■ category can be translated into different language? Thank you.

Klemens
www.rozmach.com

JDAM1 02-18-2011 01:32 PM

Re: X-Cart Smart Template v4.4.x
 
Trying to change the Nivo slider container for images that are 710x85. At the moment the container is to high in which it is leaving to much blank space. Checked the slider.tpl and css files. By the way this is a great inexpensive template, if you have no plans to hire a designer this is the way to go.

JDAM1 02-18-2011 09:30 PM

Re: X-Cart Smart Template v4.4.x
 
To change the height for the Nivo slider if using smaller images:

Quote:

skin/smart_template/custom/js/sliders/nivo

Quote:

#slider-wrapper {
width:540px;
height:87px;
margin:0 auto;
padding-top:0px;
margin-top:0px;
}

#slider {
position:relative;
width:540px;
height:87px;
margin:0 auto;
background:url(loading.gif) no-repeat 50% 50%;
margin-bottom: 24px;

Not sure if I had to change both to 87px for my images but it worked.

sabinudash 02-19-2011 08:21 PM

Re: X-Cart Smart Template v4.4.x
 
I get following php error everyday on store activity report. I'm not sure if this is smart template related. It does not seem to be affecting in placing an order though. Has anyone seen this before and any suggestions to fix it?

PHP errors:
[19-Feb-2011 00:00:12] Warning: include(skin/smart_template/custom/js/switchers/init.php) [function.include]: failed to open stream: No such file or directory in .../include/lib/smarty/Smarty.class.php on line 1923

Many thanks.

PhilJ 02-20-2011 09:06 AM

Re: X-Cart Smart Template v4.4.x
 
sabinudash, in skin/smart_template/custom/common.tpl

Replace...
Code:

{include_php file='skin/smart_template/custom/js/switchers/init.php'}
With...
Code:

{include_php file='./skin/smart_template/custom/js/switchers/init.php'}

Henry 02-20-2011 02:25 PM

Re: X-Cart Smart Template v4.4.x
 
Logo Size. I have attempted to change the size of the logo from the default 480x100 to 450x175 but when I do the logo is partial hidden behind the horizontal category menu. I adjusted the logo size in the desert.css file. Thanks.

ilter 02-21-2011 12:34 AM

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

when i enter http://www.xcartmods.co.uk/demos/smart/demo442
i am waiting 6-7 secounds for opening, also i am waiting my e-commerce store.

i mean your template opening very slowly

how can i fast it ?

i am waiting your answer thank you

sabinudash 02-21-2011 08:07 PM

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

Originally Posted by PhilJ
sabinudash, in skin/smart_template/custom/common.tpl

Replace...
Code:

{include_php file='skin/smart_template/custom/js/switchers/init.php'}
With...
Code:

{include_php file='./skin/smart_template/custom/js/switchers/init.php'}


Thanks Phil. I applied the change. It fixed the error. However I'm getting following php error now. This wasn't there before. Are these related? Any suggestion to fix it?

[21-Feb-2011 21:08:52] Warning: preg_match() [function.preg-match]: Unknown modifier 'M' in ../include/adaptives.php on line 98
Many thanks.

PhilJ 02-22-2011 05:56 AM

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


Thanks Phil. I applied the change. It fixed the error. However I'm getting following php error now. This wasn't there before. Are these related? Any suggestion to fix it?

[21-Feb-2011 21:08:52] Warning: preg_match() [function.preg-match]: Unknown modifier 'M' in ../include/adaptives.php on line 98
Many thanks.


I'm pretty sure that new error you are getting is not related to the template.

PhilJ 02-22-2011 06:02 AM

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


when i enter http://www.xcartmods.co.uk/demos/smart/demo442
i am waiting 6-7 secounds for opening, also i am waiting my e-commerce store.

i mean your template opening very slowly

how can i fast it ?


Once you have finished tweaking and testing, in general settings you can enable the JS/CSS speedup tools, which puts all the JS and CSS code into 2 large files, thereby reducing the server requests.

There's plenty of other things you can do... optimise your images so that they are not too large in size, minimise the JS code with a tool like this. Ensure you regularly optimise the database tables etc.

sabinudash 02-25-2011 10:54 PM

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

Quote:

Originally Posted by PhilJ
sabinudash, in skin/smart_template/custom/common.tpl

Replace...
Code:

{include_php file='skin/smart_template/custom/js/switchers/init.php'}
With...
Code:

{include_php file='./skin/smart_template/custom/js/switchers/init.php'}



I'm getting following error after applying the fix above. Any suggestions?

[25-Feb-2011 02:43:57] Warning: Smarty error: file:./skin/smart_template/custom/js/switchers/init.php is not readable in ../include/lib/smarty/Smarty.class.php on line 1093

Many thanks,
Sabin

ScrapbookSupplies 02-26-2011 06:14 AM

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

Originally Posted by JDAM1
Using Smart Template and would like to change One Page Checkout width to 970. Can anyone lead me to the correct file? Thanks!


This is in Tools -> General Settings, scroll down to "Preferred checkout module" and select from the drop down list.

ScrapbookSupplies 02-26-2011 06:23 AM

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

Originally Posted by open
Re: http://forum.x-cart.com/showpost.php?p=308276&postcount=192
( Try the attached, in connection with the new product mod, there's no paging.)
I have followed the tutorial above but upon using this method in Opera 11.01 I get a white line running down the right side of the screen from √ contact us to footer √
Anyone have any ideas?

Also I have implemented the FREE Latest News and Products RSS Feed Generator
Bundled with smart template v4.4x but I have a rss button ( rss_products.xml) in the incorrect place this is on fire fox and explorer also. The rss_news.xml seems to be fine.

Anyone had the same thing.
http://www.openukonline.com/24hr/store/home.php
http://www.openukonline.com/1images/help.jpg
Thanks
Alan


I don't know if you're still having a problem, and I am by far NOT much of a guru on any of the css or xCart business, but you might want to look at the width of your site. If you notice, the background image used on the Smart Template has a big white space in the middle. My best guess is that perhaps you have the width too narrow and it's showing that white space. You might be able to make it a little wider or adjust the image itself. Thought I would reply and see if maybe we can take some work off Phil. It's worth a shot. :wink:

ScrapbookSupplies 02-26-2011 06:36 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
I am sort of bumping this post to you, but not so much to get back at the front of the line but to also ask about your 4.4.2 version and keep my drama all in one place. As I understand, you have a different template for 4.4.2? I have looked and am not seeing it, and afraid to upgrade my version without knowing. Should I put a ticket in on your site?

Quote:

Originally Posted by ScrapbookSupplies
Hi Phil,
I have a laundry list that I need some help with, if you don't mind. :lol:

First, my templates are not working when I create the html catalog. Is there somewhere that I need to add the css link to?


This is still present but I think I should add a little detail to include that the catalog generates, it just displays with no style sheet - just a white page with links.

Quote:

Second, The pop up windows for sign in, TOS, Shipping Cost Estimator, etc. default to a bright blue. This is okay on one site but the others use different color themes. Actually for some reason those little boxes (on their own, as far as I know) changed sizes and are not displaying wide enough for their contents now, but I don't think that's related to the template.

Still same issue

Quote:

Third, The three column layout doesn't show a "checkout" link when someone adds something to their cart, they have to click "view cart" and scroll down to the "checkout" button. Is there a way to fix this? I saw it was showing on someone else's site.

Okay- this is NOT related to the Royal Template, as I changed my site to Blood and it's still happening. Then I changed my other site to Royal and it's working. I am quite confused.... H-E-L-P!!! S-O-S!

Quote:

Fourth, (please don't throw shoes at me - I have been putting off troubling you), when I comment out the code in the prnnotice.tpl file it throws a js error, is there something that you can think of that needs to not be commented out in this file? I am trying to comment out the code to get rid of the "Powered by xCart" logo on the printable pages.

This one is still present too but at the bottom of the list for worries

Quote:

Finally, this is the biggest issue at hand right now.... On my sister's site (www.knifegirl.com) she has waaayyyyy too many categories (she can't help herself). The categories fall to the second line but the black bar doesn't stretch with it. I couldn't see in the css where I could make that bar taller - I need to make it taller or just comment out the links entirely, where the bar is blank (removing the links and just having a plain black bar would be better).

Try as I may to change this I couldn't figure it out, but somehow my sister got rid of it. She doesn't know what she did but it's not a problem right now. Am hoping to upgrade to 4.4.2 soon, so it may be present once I do.

Quote:

Thanks so much Phil!
Jeanne

When I post this in the threads to you I sincerely mean it. I know you released a great template and you are reaching a point of needing side-rails on your backside for people getting on you. You are extremely talented and good at what you do but you are human, and I appreciate everything you have done for all of us.

Quote:

PS. Any hopes of you doing a customization for xPayments so it can all match?

Forget it! If there's anyway around it I will NEVER use xPayments, it's not worth the hassle. :-#

Quote:

Thanks again - YOU ROCK PHIL!!!

As stated earlier, this is sincere and I recommend your template to everyone that I can. :D/

************************************************** *********

Finally, I am getting this error (you know the IE error at the bottom of the page):

Quote:

Message: Expected ';'
Line: 1
Char: 1
Code: 0
URI: http://www.knifegirl.com/skin/smart_template/custom/js/ticker/jquery.ticker.min.js


Thank You Phil!

open 02-26-2011 06:37 AM

Re: X-Cart Smart Template v4.4.x
 
thanks for your reply
i think that i may have had the wrong setting in xcart? (Number of columns to display the product list in). This white line only appeared in Opera though and only for 3 days both looking at my site and the demo site on various pc's that i have access to.
all is fine now.
Super template.

ScrapbookSupplies 02-26-2011 06:40 AM

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

Originally Posted by open
thanks for your reply
i think that i may have had the wrong setting in xcart? (Number of columns to display the product list in). This white line only appeared in Opera though and only for 3 days both looking at my site and the demo site on various pc's that i have access to.
all is fine now.
Super template.


Cool! Glad you got it working. Wonder what would have caused that to happen.

I found a nice site that you can get free screenshots of your site to see how it looks in different browsers. Have found it to be very handy... browsershots.org.

=)

ScrapbookSupplies 02-26-2011 06:42 AM

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

Originally Posted by mpepel
Can someone help me √ please - to find out, if ⌠Product-Title■ (not "dialog-title") inside ⌠New Products■ category can be translated into different language? Thank you.

Klemens
www.rozmach.com


Perhaps you can go in your admin panel to Tools -> Languages, and search the text you are wanting to change. If it is a label tag you can change it right there.

mpepel 02-26-2011 10:05 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks Scrapbook Supplies. I don▓t think Phil▓s New Products supports more than one language except for the dialog label┘ At this point I just removed it.

Klemens
Rozmach.com

ilter 03-01-2011 12:47 PM

Re: X-Cart Smart Template v4.4.x
 
hello,
how i can i show on new products area 6-9 products ?

now i can show only 3 products.

i am waiting your helping..

Tony Pearce 03-01-2011 12:59 PM

Re: X-Cart Smart Template v4.4.x
 
simple, just edit:
smart_new_products.php

in root

# The Query
$qry = "SELECT * FROM " . $sql_tbl["products"] . " WHERE forsale='Y' AND avail > 0 ORDER BY add_date DESC LIMIT 12";

this line shows 12 items

info@ausnetit.com.au 03-03-2011 02:29 AM

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

I thought if i untick :"Use selected featured products type on homepage only"

will show FP on category pages?

or if there is no products will display the standard FP on Cat pages?

But it's not doing it on this

http://www.gloryweddingcreations.com.au/home.php?cat=274


"Only uses pager or carousel featured products on homepage - uses standard featured products view on category pages."

Anyway i want to show FP in category pages?

Cptn JoeSoap 03-03-2011 03:41 PM

Re: X-Cart Smart Template v4.4.x
 
Hi there Philmystro Flex

I have a quick question:
How do stop having my vertical left menu categories duplicating onto the horizontal black bar (the same bar where the search box is located it)
I just want these categories on the vertical bar and not the horizontal one.

Apologies if this has been covered already, I've read through this forum before for another problem and honestly am not going to read through 31 plus pages again lol

PhilJ 03-04-2011 02:04 AM

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

How do stop having my vertical left menu categories duplicating onto the horizontal black bar (the same bar where the search box is located it)
I just want these categories on the vertical bar and not the horizontal one.

You can disable the horizontal category menu in the smart template settings, which then replaces them with a custom horizontal menu.

Or, to remove altogether, in skin/smart_template/custom/header.tpl

Replace...
Code:

{include file="custom/horiz_custom.tpl"}
With...
Code:

 
(or whatever you want to put in its place)

sparker2 03-04-2011 11:33 AM

Re: X-Cart Smart Template v4.4.x
 
Hello, can someone please tell me how to resize my checkout page. For some unknown reason my checkout page is speaded all across the whole page instead of the standard size like my home page. I am using fast lane checkout also just so you know. I tried to use One Page Checkout but had to many issues with Smart Template. Thanks for your help and any tips you can provide me.

Tony Pearce 03-04-2011 11:34 AM

Re: X-Cart Smart Template v4.4.x
 
it is in this thread already!

Tony Pearce 03-04-2011 11:36 AM

Re: X-Cart Smart Template v4.4.x
 
To change the layout width at checkout, in skin/smart_template/customer/home.tpl

Change... (around line 30)
Code:

.container_fixed { width: 100%; }

To...

Code:

.container_fixed { width: 970px; }

Tony Pearce 03-04-2011 11:37 AM

Re: X-Cart Smart Template v4.4.x
 
if not here look in the modules/fast_lane_checkout section

sparker2 03-04-2011 11:54 AM

Re: X-Cart Smart Template v4.4.x
 
Thank you for that. Must have missed it because I sure did do a search and it came up with nothing.

info@ausnetit.com.au 03-04-2011 02:33 PM

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

Originally Posted by info@ausnetit.com.au
Hi Phil,

I thought if i untick :"Use selected featured products type on homepage only"

will show FP on category pages?

or if there is no products will display the standard FP on Cat pages?

But it's not doing it on this

http://www.gloryweddingcreations.com.au/home.php?cat=274


"Only uses pager or carousel featured products on homepage - uses standard featured products view on category pages."

Anyway i want to show FP in category pages?



Can some one help me pls?

PhilJ 03-04-2011 02:41 PM

Re: X-Cart Smart Template v4.4.x
 
Asela, in the smart template settings, have you unchecked...

"Use selected featured products type on homepage only"

See the demo...
http://www.xcartmods.co.uk/demos/smart/demo442/home.php?cat=3

info@ausnetit.com.au 03-04-2011 06:55 PM

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

Yes, i did that but not showing the FP?

Thanks

dragonfly 03-04-2011 08:31 PM

Re: X-Cart Smart Template v4.4.x
 
I love the smart template! I also really love the developer license. Phil answered several questions I had during my first setup and answered them quickly. I am very impressed with the level of service. The smart template is a great template at a great price with great service - 100% recommended! If you are wondering if this one is worth a try.. absolutely.

info@ausnetit.com.au 03-04-2011 11:33 PM

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

Originally Posted by PhilJ
Asela, in the smart template settings, have you unchecked...

"Use selected featured products type on homepage only"

See the demo...
http://www.xcartmods.co.uk/demos/smart/demo442/home.php?cat=3


Yes, That's what i want but didn't work? which template look or why ?

Tony Pearce 03-09-2011 03:30 AM

Re: X-Cart Smart Template v4.4.x
 
Now I'm stuck!
I need to resize the left column (I'm using the 2 column left template) and increase the main column to fill the page, ideally remove the left colum entirly, but reducing to a few pixels would do, I have played and got in a right mess with the css, any ideas?

Thanks
Tony

PhilJ 03-09-2011 03:55 AM

Re: X-Cart Smart Template v4.4.x
 
skin/smart_template/custom/css/layout_2col_left.css

The default left column width is 200px, so just change the 200px values to whatever new width.

MythNReality 03-09-2011 04:41 PM

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

Would you please check on the following and help with the fix:

1. Special offer: I've moved to the right column, and two pictures are overlapping.
2. New products: has similar problem as the special offer.
also, the new products did not catch the data correctly. I have added new products but they are NOT displaying.
3. Feature products: this was set only display at home page, however, the feature products are showing above the category on one of the categories page, see http://www.petadorn.com/Dog_SweatShirts/


Thanks,

PhilJ 03-10-2011 03:01 AM

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

1) The special offers section is designed as a wide dialog box, not a narrow menu box, therefore you'll have to tweak the special offers template...

skin/modules/Special_Offers/customer/new_offers_message.tpl

2) New products should be displaying fine, make sure they are actually new products (not clones of old products, or modified demo products).

3) If you don't want the subcat featured products to appear as a carousel etc. ensure you have this option unchecked in the smart template settings...

'Use selected featured products type on homepage only'


All times are GMT -8. The time now is 07:41 PM.

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