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)

MythNReality 03-10-2011 04:47 PM

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

Thank you for your explanation and help.

1. The Feature products should be showing on the home page only. Use selected featured products type on homepage only) is checked. But for some reason, it is showing on this category (whereas it shouldn't be): removed

Do you know what might have caused this? Xcart bug, maybe?

2. As for the New products, if I set to showing 6 products, the fifth products got cut off: removed

Thank you for your time.

PhilJ 03-11-2011 08:13 AM

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

1) That option will still show featured products on your subcategory pages, but the standard default type. You can remove them by commenting out some code...

skin/smart_template/customer/main/subcategories.tpl

Code:

{include file="customer/main/featured.tpl"}


2) The sixth new product is showing fine for me, but it's wrapping to the second line.

MythNReality 03-11-2011 06:47 PM

Re: X-Cart Smart Template v4.4.x
 
Thank you, thank you, thank you!
Phil, You DA BEST!

PhilJ 03-12-2011 11:07 AM

Re: X-Cart Smart Template v4.4.x
 
1 Attachment(s)
If anyone wants to increase the width of the search box...

In your chosen theme css file, eg.

skin/smart_template/custom/themes/royal.css

Let's say we want to make it 100px wider...

Adjust these values...
Code:


#st_menu { margin-right: 300px; }
#st_menu_search { float: left; width: 300px; margin-left: -300px; }

Then...
Code:


#st_search_input { float: left; color: #000; height: 14px; width: 234px; margin: 0px 0px; background: url(../images/search_bg.png) left no-repeat; padding: 8px; font-size: 1.0em; border: none; outline: none; }

Also upload the attached image to...

skin/smart_template/custom/images

PhilJ 03-13-2011 01:48 AM

Re: X-Cart Smart Template v4.4.x
 
Fix for CSS3 boxes not rendering in IE8 and below properly...

In your chosen theme...

skin/smart_template/custom/themes/xxxx.css

Below...
Code:

/*--------------------------------------------------------
MENU & DIALOG BOXES - ROUNDED JAVASCRIPT
--------------------------------------------------------*/

Add this additional line of CSS code to each rule...
Code:

position: relative;
( from h3.menu_title to .dialog_content_filled )

sabinudash 03-13-2011 06:23 PM

Re: X-Cart Smart Template v4.4.x
 
1 Attachment(s)
Hi Phil,

When using Chrome, it gives warning for unsupported browser. I've attached the screenshot. Is there a way to fix this?

Many thanks.

PhilJ 03-13-2011 07:38 PM

Re: X-Cart Smart Template v4.4.x
 
For the time being, in the settings, uncheck...

"Display warning to unsupported browser users"

Soft-Reseller.com 03-15-2011 02:11 AM

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

My Question is not related to Smart Template but I am very much impressed from PhilJ and hope He will find out the solution and may help others seeking for same solution.

I have two eshop (Work going on) Both are using Smart Template (I love this Template).

http://www.soft-reseller.com
http://www.soft-vendor.com

My Question is that Most of the products I am selling as Authorized Reseller and there are a Lot of products which I am authorized to sell as Affiliator.

The products I am selling as Reseller give the option to buy and pay through merchant I am using.

But the products (Affiliated Product) I want only shows the page there details but no Buy buttons. Or the buy button forward the user to their site.

If I make static Pages for all those products and put buttons then How I can add them in categories and Product list.

Hope you will get my point and help me.

Regards

ScrapbookSupplies 03-15-2011 06:37 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
I'm still getting errors on the site that I cannot seem to resolve, hope you can render some advice. Also, I upgraded the sites to 4.4.2, and though you sent me the new template, I cannot see what's different. Have concerns over just dropping the files into place because I have customization on some of the files. Can you tell me what changes need to be implemented, or perhaps forward upgrade instructions? The 4.4.2 file set I got only has full install instructions.

The errors I am getting are:

scrapbooksuppliesdirect.com/shopping:
Quote:

Message: 'products_data' is undefined
Line: 510
Char: 1
Code: 0
URI: http://www.scrapbooksuppliesdirect.com/shopping/

Message: 'products_data' is undefined
Line: 550
Char: 1
Code: 0
URI: http://www.scrapbooksuppliesdirect.com/shopping/

Message: 'products_data' is undefined
Line: 594
Char: 1
Code: 0
URI: http://www.scrapbooksuppliesdirect.com/shopping/



knifegirl.com
Quote:

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2)
Timestamp: Tue, 15 Mar 2011 15:33:59 UTC

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


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

Finally, I had posted about the "checkout" link not appearing when someone added an item to their shopping cart. They would add an item to the cart, then have to click "view cart" and then scroll to the bottom of the page to click "checkout". This was happening with all theme colors. I have realized that this issue presents itself only when Google Checkout is enabled. If I disable it then the checkout link appears.

Not sure if this is a bug for QT or something with the template, but I wanted to make note of it in case someone else has the same problem.

As always, thank you much for your help Phil, and I will pass the hat to drum up donations so we can install those siderails on your backside, for all of us that are on it. :wink:

ilter 03-17-2011 12:03 AM

Re: X-Cart Smart Template v4.4.x
 
hi, phil
on IE9 rounded corners has got problem
please look at the picture

http://www.ilter.org/roundedcorners.jpg

i hope you understand problem
i am waiting your answer
thank you

PhilJ 03-17-2011 12:16 AM

Re: X-Cart Smart Template v4.4.x
 
IE9 has not been tested yet (was only released Monday)

I do not like committing to use a brand new browser before it's been thoroughly reviewed and tested etc.

I'm guessing it still has trouble rendering some CSS3 elements. You could try this...

skin/smart_template/custom/common/tpl

Replace...
Code:

{if $config.Smart_Template.st_boxes eq "js"}
<!--[if lte IE 8]>

With...
Code:

{if $config.Smart_Template.st_boxes eq "js"}
<!--[if lte IE 9]>


Don't forget, IE9 is only available to Win 7 / x64 users... there's a still a lot of XP users out there.

raveworx 03-18-2011 04:27 PM

Re: X-Cart Smart Template v4.4.x
 
Here's a small enhancement to the template to reduce the number of unused JavaScript files, if you don't have all the options turned on.

File: skin/smart_template/custom/common.tpl

Before:
Code:

<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_width.js"></script>
<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_layout.js"></script>


After:
Code:

{if $config.Smart_Template.st_site_width_switch eq "Y"}
<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_width.js"></script>
{/if}

{if $config.Smart_Template.st_products_layout_switch eq "Y"}
<script type="text/javascript" src="{$AltSkinDir}/custom/js/switchers/switch_layout.js"></script>
{/if}


sabinudash 03-21-2011 04:28 AM

Re: X-Cart Smart Template v4.4.x
 
Has anyone tried to use carousel for random products on homepage (instead of featured products)? Any suggestions to accomplish this?

Many thanks.

Isleman 03-21-2011 07:02 AM

Re: X-Cart Smart Template v4.4.x
 
I would like to get two rows of products in pager mode on featured products . So instead having three products displayed it will increase to 6.
How can I achieve that ?

jondoe 03-22-2011 11:29 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil, do you know is it possible to set the number of new products from 3 to more?
Jon

PhilJ 03-23-2011 02:39 AM

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

Has anyone tried to use carousel for random products on homepage (instead of featured products)? Any suggestions to accomplish this
sabinudash: In skin/smart_template/custom/featured_pager.tpl

Replace instances of...
Code:

$f_products
With...
Code:

$r_products
Quote:

I would like to get two rows of products in pager mode on featured products . So instead having three products displayed it will increase to 6.
How can I achieve that ?
Isleman: In skin/smart_template/custom/js/paginate/jquery.paginate.min.js

Look for this line...
Code:


perPage : 3, // Number of items per page

Quote:


Hi Phil, do you know is it possible to set the number of new products from 3 to more?

jondoe: You can set the number of products per page in the smart template settings.

More than 3 products per row is suited to a 'fluid or 'full' width layout.

jondoe 03-23-2011 05:33 AM

Re: X-Cart Smart Template v4.4.x
 
Which setting you mean in General settings of Smart Template? I don't see I can change the number of new products

PhilJ 03-23-2011 05:35 AM

Re: X-Cart Smart Template v4.4.x
 
jondoe, the dropdown menu - "Product columns"

jondoe 03-23-2011 05:54 AM

Re: X-Cart Smart Template v4.4.x
 
http://www.ekidult.com/product_columns.JPG

It doesn't work for me.
As I change it to 6, it shows the same 3 products. As I change it to 2, it remains unchange.

jondoe 03-23-2011 06:01 AM

Re: X-Cart Smart Template v4.4.x
 
I've found the answer from your installation manual:

1) To adjust the number of new products on display, edit smart_new_products.php

End of line 4...

DESC LIMIT 3";

^ 3 being the number of new products.

mpepel 03-24-2011 09:19 AM

Re: X-Cart Smart Template v4.4.x
 
Firefox (4.0) is hiding product prices; also after upgrading IE 8 to IE 9, I realized prices are missing. Everything works great with Chrome. Many thanks for any suggestion┘

Klemens
Rozmach.com

PhilJ 03-24-2011 09:55 AM

Re: X-Cart Smart Template v4.4.x
 
Just tested the demo with FF4 and don't see any issues so far.

mpepel 03-24-2011 02:06 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks Phil,
Your response helped me to realize that I had to make a mistake┘
I changed overflow margin/padding in main.css to 0.

Thanks.

Klemens

dhaworth 03-25-2011 07:31 AM

Re: X-Cart Smart Template v4.4.x
 
HIGHLIGHTING OF PRODUCT CATEGORY - Phil before I updated I was able to have the category field highlight whatever category a customer was in. I have a lot of categories and when a customer selects a product category and then is in that category, it was a great help when the product category was highlighted so the customer could quickly see what category they are in. Is there a modification you can post that will make this work with the flyout menus for the smart template. Thanks.

PhilJ 03-25-2011 12:07 PM

Re: X-Cart Smart Template v4.4.x
 
dhaworth, re. highlighting categories, I will look into this and report back here if it's possible.

PhilJ 03-25-2011 12:12 PM

Re: X-Cart Smart Template v4.4.x
 
Here's a quick fix for 'new' and 'random' products not showing the correct URLs to the images.

In...

/smart_new_products.php

and...

/smart_random_products.php

Before...
PHP Code:

$smarty->assign("n_products",$products); 

and...
PHP Code:

$smarty->assign("r_products",$products); 

...respectively, insert to both files...

PHP Code:

# Get Thumbnail
if($products) {
    foreach(
$products as $key=> $product)
    
$products[$key]["tmbn_url"] = func_query_first_cell("SELECT image_path FROM $sql_tbl[images_T] WHERE id=".$product["productid"]);



This will not affect the running of your store, merely speed things up a little.

Jobananas 03-30-2011 07:04 AM

Re: X-Cart Smart Template v4.4.x
 
How do you get the latest version as ours has no image sliders?

Also how hard would it be to update our existing Smart Template install to the latest version?

thirdcoast 03-31-2011 05:45 PM

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

I have a couple of quick questions about modification of the smart template.

First I want to say 2 things:

1) I looked through the pages for a quick answer to this, but 35 pages is starting to get to be alot of "stuff" to "surf".... I'm pretty sure my question is "unique" so far..8O

2) I want to compliment Phil on the time he has put into this project. I spent 15-20 hours customizing a standard template in this version before I bought his template. The coding, and location of the items (including sliders which I had custom installed on my previous template) is VERY easy to find, and work with. KUDOS to you Phil for keeping things tidy for us! Thank you! In 6 hours I was down to a stripped out "working" version of your template. Thanks. I'll be back for more!

Okay... with that out of the way...

Question:

1) I want to make the layout of the products.tpl (featured and products listing in categories) to be 4 column by default. (you can see I stripped out the "misc" stuff like most t shirt shops)
As it is in Settings> Smart Template Options the "Enable Products Layout" option must be "ticked" to enable the menu for customers to choose. I would like to have the column layout by default and to have the ability to enable the opposite for customers if I choose. Seems like this might be the easiest way.... I want my products (featured, and product lists) to be presented in 4 columns on each page.

2) Recommendation: It would be very helpful for new installs if you would add a link to the patch that corrects the Site Title issue x cart has in it's current installation. Even as a recommendation... I don't think it's there, but I had to gogle it and was lucky enough to find the link you referred another customer to on page......25-30..... I think a simple update of the Installation/ FAQ html would make it VERY simple for us... We all know how important SEO is these days and this was a critical issue for about 20 mins... :mrgreen:

3) Recommendation: Black/ grey template? I was a little surprised that there wasn't one for the "dark side" :-) I have another site I will be upgrading soon and it is a "dark" layout like this....

Thanks again, and I can't wait to get my columns set straight....

ScrapbookSupplies 03-31-2011 06:08 PM

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

Originally Posted by ilter
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..


In tools -> general settings -> appearance (latter link is on the right), change "number of products per page" to 9. See my site: www.unibindphotobooks.com/shop - I think this is what you're wanting, right?

Then in the Smart Template Options tick the "use standard xCart layout" for products.

Think this will do it.

thirdcoast 03-31-2011 06:52 PM

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

thanks....that got the layout I was looking for! Just need to edit the x cart products.tpl now...

Mr. G 03-31-2011 09:55 PM

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

Originally Posted by thirdcoast
1) I looked through the pages for a quick answer to this, but 35 pages is starting to get to be alot of "stuff" to "surf"....

x2
Quote:

Originally Posted by thirdcoast
2) I want to compliment Phil on the time he has put into this project. I spent 15-20 hours customizing a standard template in this version before I bought his template. The coding, and location of the items (including sliders which I had custom installed on my previous template) is VERY easy to find, and work with. KUDOS to you Phil for keeping things tidy for us! Thank you! In 6 hours I was down to a stripped out "working" version of your template. Thanks. I'll be back for more!

x2
Quote:

Originally Posted by thirdcoast
2) Recommendation: It would be very helpful for new installs if you would add a link to the patch that corrects the Site Title issue x cart has in it's current installation. Even as a recommendation... I don't think it's there, but I had to gogle it and was lucky enough to find the link you referred another customer to on page......25-30..... I think a simple update of the Installation/ FAQ html would make it VERY simple for us... We all know how important SEO is these days and this was a critical issue for about 20 mins... :mrgreen:

x2
Phil, if I were you, I'd go to one of the freelance sites and hire very intelligent technical writer with a high English proficiency to go through this thread and create a FAQ in HTML. I guarantee you can find hundreds for $8 per hour--I have one. It would take that person five to 10 hours to get it done. Less than the price of one Smart Template sale woohoo! :razz:

Soft-Reseller.com 04-03-2011 08:13 AM

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

I have installed Smart Template on my following two domains

Soft-reseller.com (Linux Based) (Facing no problem)

Soft-vendor.com (Windows Based) (Facing problem)

I have installed Smart comments on both of the websites and facing problem on Soft-vendor.com (Windows Based) as The product page is not fully displaying and every thing in side columns goes away which working well on Soft-reseller.com.

Example Product Page

http://www.soft-vendor.com/eshop/product.php?productid=4&cat=15&page=1

Please help me as soon as possible

Regards

Cptn JoeSoap 04-09-2011 01:50 PM

Re: X-Cart Smart Template v4.4.x
 
Hey there Phil,
I have set an image in my menu to be a link, however when I check it out it seems to "shift" a bit to the right when I hover over it. How do I stop it from doing this?
Regards

PhilJ 04-09-2011 01:54 PM

Re: X-Cart Smart Template v4.4.x
 
Cptn joeSoap, in your menu template, try changing...
Code:

<div class="menu_nav">
to...
Code:

<div class="menu_nav_img">

candc 04-11-2011 01:35 PM

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

Quickie I hope

We are using https for login/registration etc, so no popup.

Use HTTPS for users' login and registration is ticked
Use secure login form on a separate page (HTTPS) is ticked

The problem we are having is there is no error message, or indication there was a problem with user/pass, so we are getting muliple login errors.

Works fine if i remove the https settings totally, and use the pop up box.

Am I missing a setting here somwhere, or is there a simple fix :D

Thanks

Mr. G 04-11-2011 02:30 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
Re: this issue http://forum.x-cart.com/showpost.php?p=310221&postcount=262 I never got it to work....except if you append the bad url with .php! Tried different browsers too. Any ideas? :-s

sylvester436 04-11-2011 04:50 PM

Re: X-Cart Smart Template v4.4.x
 
Is xcartmods.co.uk on vacation or something? Ordered a template and no responses since Friday, kinda disappointed with their response times but I hope maybe I'm just jumping the gun...

auctions 04-11-2011 09:41 PM

Re: X-Cart Smart Template v4.4.x
 
I have the same problems with the smart comments Mod ,I have install the smart template & smart news and products with no problems but smart comment broke my page ,so I have off at the moment

PhilJ 04-11-2011 10:52 PM

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

The problem we are having is there is no error message, or indication there was a problem with user/pass, so we are getting muliple login errors.
CandC, the template does not affect the login page, so it might be a bug. I've been working on a store with the template and a smiliar setup - it does not show login error messages either (v4.4.2).

PhilJ 04-11-2011 10:54 PM

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

Is xcartmods.co.uk on vacation or something?
sylvester436, no we're not on vacation, but are experiencing a high volume of support tickets.

You placed your order yesterday (Monday) so you'll have the files sent over shortly. Thank you.


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

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