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)

2coolbaby 03-16-2012 06:38 PM

Re: X-Cart Smart Template v4.4.x
 
I upgraded to 4.4.5 this past week and ran into a bug that I was told was template related. When IE PC users check out, they input their address info and it hangs when trying to add it. Then you get an error telling you to refresh and same thing happens again. I had 4 customer complaints today and I was able to reproduce the issue myself in IE.

There was another post here with a fix, but it did not work for me and was told it was probably the template:

http://forum.x-cart.com/showpost.php?p=335472&postcount=58

Also get the error on the Terms of Service and Privacy links, which I have not been able to get to load even in 4.4.4 and I put the wording in both the language files and the actual privacy and tos pages in x-cart. Again, I was told it had to be template related.

I have not added any mods to the store yet, so it can't be a mod conflict issue.

PhilJ 03-16-2012 08:47 PM

Re: X-Cart Smart Template v4.4.x
 
Mary, the template does not modify anything in the checkout, we've been quite careful about that.

Mr. G 03-16-2012 11:06 PM

Re: X-Cart Smart Template v4.4.x
 
Mary I don't know if this will help; it's just an idea. Try switching to the default, built-in template that comes with X-Cart and test with that.

2coolbaby 03-17-2012 12:07 PM

Re: X-Cart Smart Template v4.4.x
 
Thanks, still an issue. I have no idea what is going on. No mods or anything to cause this and started with 4.4.5 upgrade this week.

bibi 03-19-2012 12:19 PM

Re: X-Cart Smart Template v4.4.x
 
Dear Jacksmith,
I think your generalization of some known bugs are wrong! most of us have a test site and do our homework before we post here. I take offensive to your remark about being lazy. SOME(I) have tried every way but Sunday to solve a problem-even PM Phil, which has nothing to do with the site but the template itself.

When you make a broad remark like that you stifle others from posting what might be a stupid question to you but valid to the owner of the site. Others with the same template may find the question or fix useful, they may even have a solution themselves

For myself i paid for a template to work not to adjust the working codes. Now my test site works fine and the live site does not. Being lazy is not a factor here, while i must say phil has done some things that has helped me out tremendously(thanks Phil) i do take the time to try my codes on my test sites FIRST. Now if Phil has installed this template to the test site, then to the live site it should work fine RIGHT?

Most people who assume that a designer is being pushed to their limits post a sticky to advise user's what/how they can do, instead of generalizing the whole posts all about a "People need to remember" admonishment statement.


Quote:

Originally Posted by JacksmithxD
People need to remember that you ONLY bought a template. You did not purchase Phil to design your website for you. Use FF and download Firebug, and of course backup files before you edit them. When your going to edit your website do small edits, and then test your website to see if everything is okay. A lot of the errors/issues is down to human error, e.g coding wrong or just being lazy.


PhilJ 03-25-2012 09:58 AM

Re: X-Cart Smart Template v4.4.x
 
ok... bibi and 2coobaby, if can be of any help, just shout, not literally.

MythNReality 03-25-2012 02:31 PM

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

Originally Posted by PhilJ
Hi Masada, sure PM'd you.

If anyone has Torben's issue above with characters in a different language, then...

skin/smart_template/customer/home.tpl

Change...

Code:

<?xml version="1.0" encoding="{$default_charset|default:"iso-8859-1"}"?>

to...

Code:

<?xml version="1.0" encoding="{$default_charset|default:"UTF-8"}"?>


Phil:

after followed your instruction I've got the following:
Validation Output:

Error Line 1, Column 6: XML declaration allowed only at the start of the document

<?xml version="1.0" encoding="iso-8859-1"?>

Is there a fix of this issue?

TKS.

SGS 03-27-2012 12:26 PM

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

I am trying to tweak my Smart Template to display each product with a box around it and all the product info within centered. The ability Template seems to be able to do this but not the Smart Template 4.4.x.

Have attached images show what I would like mine to look like.

Thanks

Mr. G 04-09-2012 10:40 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
I am trying to install the RSS-Feed-Generator here: http://www.xcartmods.co.uk/X-Cart-Latest-News-and-Products-RSS-Feed-Generator-v4.4.x.html

On line 71 in the install.txt file, in step 4, is
{if $active_modules.News_Management}
But in my skin/common_files/admin/menu_box.tpl file, it does not match. Instead, on line 134 it is
{if $active_modules.News_Management ne ""}

What should I do?

idigibarry 04-10-2012 03:28 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
Can I display 5 products in 1 row with Smart Template?
If I buy it, can u install it for me?
I need display English and Chinese(UTF-8). Can ST handle it?

thx Phil

PhilJ 04-10-2012 04:44 AM

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

On line 71 in the install.txt file, in step 4, is
{if $active_modules.News_Management}
But in my skin/common_files/admin/menu_box.tpl file, it does not match. Instead, on line 134 it is
{if $active_modules.News_Management ne ""}

Mr G, that code is essentially the same. You might have an older version of the mod, in which case I can send you the latest, if you get in touch with your order ID.

PhilJ 04-10-2012 04:53 AM

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

Hi Phil,
Can I display 5 products in 1 row with Smart Template?
If I buy it, can u install it for me?
I need display English and Chinese(UTF8. Can ST handle it?

thx Phil

Hi idigibarry,
You can have up to 6 products in a row.
It will work with Chinese UTF8 also, you may just need to change the $default_charset variable in home.tpl

Mr. G 04-12-2012 09:27 PM

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

Originally Posted by PhilJ
If anyone wants to increase the width of the search box...

(original post #324, fyi) So I finally did this. Looks better. 8-) Except, the Dynamic Product Search drop down box of results is shifted to the left, and seems to still be 200 px. How can I change the width and the horizontal position? Thanks for you input! :mrgreen:

PhilJ 04-13-2012 03:20 AM

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

Modify #ajax_listOfOptions

It helps if you use Firebug to find CSS - www.getfirebug.com

Mr. G 04-13-2012 08:39 AM

Re: X-Cart Smart Template v4.4.x
 
Thanks, Phil. For the benefit of everyone...
Quote:

Originally Posted by PhilJ
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

Now, in
Quote:

Originally Posted by PhilJ
In skin/smart_template/custom/js/smart_dynamic_search/smart_dynamic_search.css

Modify #ajax_listOfOptions

change to width: 400px; and height: 300px;
After that, the drop down box will be aligned properly, be wider, and will show a few more results to reduce user scrolling.

jcorneli 04-26-2012 01:22 PM

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

I have had some mods done to my xcart and I think I have wrecked my Smart Template. In the Admin area the only place I can make changes is in Smart Templates Options dropdown. Was there a way to select featured products for the Carousel/Slider. Was that ever there or am I completely lost? When I make a product a featured product in the categories it is not added to the slider.

Also new products do not update when changes are made to the products.

Any help/advise would be appreciated.

poweruserlef 05-07-2012 12:41 AM

Re: X-Cart Smart Template v4.4.x
 
When on the Featured products type we choose standard and on the
products layout we use X-Cart standard the products going out from
the right hand side of the dialog boxes

Any ideas how this can be fixed??

jcorneli 05-18-2012 05:47 PM

Re: X-Cart Smart Template v4.4.x
 
Anybody?

Mr. G 05-18-2012 05:56 PM

Re: X-Cart Smart Template v4.4.x
 
I am saying this without researching, from memory when I messed with this one year ago: I think the products in the slider are hard-coded. Think of the slider like a banner that you custom design.

a1deano 06-26-2012 05:18 AM

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

I know you've been busy with the Ability and the newer Template but just wanted to ask regarding the Social Bookmarks that's built into the smart template i want to add Pinterest to the set but don't know how, can you advise please.

Thanks Dean

flyclothing 06-26-2012 08:02 AM

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

Let me know what you hear. I've asked several times and not received a response.

PhilJ 06-26-2012 08:05 AM

Re: X-Cart Smart Template v4.4.x
 
Adding Pinterest has been addressed a few times on the forum, eg. http://forum.x-cart.com/showthread.php?t=62293

a1deano 06-26-2012 08:16 AM

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

Just wondered if it could be added to your social bookmarks that came with smart template, as when you move mouse over you also get popup, I did already add the one from that thread today but your one would be better, but no worries i know you've been busy...

Regards Dean

Quote:

Originally Posted by PhilJ
Adding Pinterest has been addressed a few times on the forum, eg. http://forum.x-cart.com/showthread.php?t=62293


Mr. G 06-27-2012 05:55 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
I've been using the row layout for products layout since the start in 2010. I want to try using the grid. I referred to http://www.xcartmods.co.uk/demos/smart/install/install.html where it says, "To set the initial products layout (row or grid) edit line 10 of skin/smart_template/custom/js/switchers/switch_layout.js". I did that, ran /cleanup.php and nothing changed. What should I do? Thanks!

PhilJ 06-28-2012 05:58 AM

Re: X-Cart Smart Template v4.4.x
 
Try clearing your cookies also, or specifically the cookie named "view_Layout".

Mr. G 06-28-2012 06:37 AM

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

Originally Posted by PhilJ
Try clearing your cookies also, or specifically the cookie named "view_Layout".

Yep that did it. Thanks. During dev testing I've always just done cleanup.php, cleared browser cache and refreshed browser and that would show changes. So this is a first (that I can remember) that this was necessary. I'll start clearing cookies from now on, too.

PhilJ 07-12-2012 07:09 PM

Re: X-Cart Smart Template v4.4.x
 
Great, I use this addon all the time for testing and managing cookies.

torbenbendixen 07-18-2012 12:51 AM

Re: X-Cart Smart Template v4.4.x
 
I need to style the text: Ask a question about this product
when you are in the product details.
But when i style it using CSS, it affects other links on the webshop.

Anybody knows how i can style this, without affecting other parts?

Thank you.

PhilJ 07-18-2012 06:46 AM

Re: X-Cart Smart Template v4.4.x
 
You can either add CSS along these lines...

Code:

div.ask-question a:link { font-size: 24px;  ETC ETC }

Or you can turn the link into a button...

skin/smart_template/customer/main/product_details.tpl

Replace...

{include file="customer/buttons/button.tpl" button_title=$lng.lbl_ask_question_about_product style="link" href="javascript: return !popupOpen(xcart_web_dir + '/popup_ask.php?productid=`$product.productid`')"}

With...

{include file="customer/buttons/button.tpl" button_title=$lng.lbl_ask_question_about_product style="button" href="javascript: return !popupOpen(xcart_web_dir + '/popup_ask.php?productid=`$product.productid`')"}

sabinudash 07-19-2012 05:17 AM

'Sort by' showing up in all three columns
 
1 Attachment(s)
Hi Phil,

Will you please help fix 'Sort by' option showing up in all three columns on the manufacturer page?

Attached please find a screenshot of a merchant/manufacturer page (using 3 columns) where 'Sort by' part appears in left, center and right columns. I would like to have this appear in center only.

Will you please suggest a fix?

Many thanks.

torbenbendixen 07-19-2012 08:33 AM

Re: X-Cart Smart Template v4.4.x
 
Both solutions worked perfect.
Thank you very much!!!

Quote:

Originally Posted by PhilJ
You can either add CSS along these lines...

Code:

div.ask-question a:link { font-size: 24px;  ETC ETC }

Or you can turn the link into a button...

skin/smart_template/customer/main/product_details.tpl

Replace...

{include file="customer/buttons/button.tpl" button_title=$lng.lbl_ask_question_about_product style="link" href="javascript: return !popupOpen(xcart_web_dir + '/popup_ask.php?productid=`$product.productid`')"}

With...

{include file="customer/buttons/button.tpl" button_title=$lng.lbl_ask_question_about_product style="button" href="javascript: return !popupOpen(xcart_web_dir + '/popup_ask.php?productid=`$product.productid`')"}


sabinudash 07-22-2012 05:13 PM

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

Would you please take a look at 'Sort by' showing up in all three columns on manufacturer page?

http://forum.x-cart.com/showpost.php?p=343061&postcount=670

I appreciate your help fixing this.

Mr. G 07-28-2012 08:51 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil,
On your demo,
under the left panel section "Categories", rollover the main items. As you go down the list of main items, each of the second level subcategories fly out. However, there is no indication of whether there is a third level subcategory. This would be helpful for the shopper to see.

I give three possibilities on how to show this:
1. As you rollover the main category, all subcategories automatically fly out.
2. As you rollover the main cat, a
red (or different color) > symbol appears only on the second level cats that have a third level cat.

Otherwise the shopper has no way of knowing if there are products in the third level, and most will assume not.

torbenbendixen 07-30-2012 11:25 AM

Re: X-Cart Smart Template v4.4.x
 
I have 2 problems with a new installation on X-Cart 4.5.2 on this domain: www.satoni.com

1) The new EU cookie law function is not showing. How to enable this? It works in other templates

2) When I am on the frontpage and the pages in the left menu, I have a white bar in top of the webshop.
If I navigate to pages in the right menu, the white bar is no longer there, but then it breakes the horizontal menu and search field.

Anybody knows how to fix this?

SGS 08-28-2012 01:03 AM

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

I have put in a ticket requesting the latest version of Smart Template, for the 4.5.2 cart.

Thanks

masada3336 08-30-2012 03:29 PM

Re: X-Cart Smart Template v4.4.x
 
Hi Phil - is there a way to combine all the js files you have in the template into one? The files from the smart template aren't being included in the js and css speedup.
Thanks!

ranjitbalani@yahoo.com 10-11-2012 11:42 AM

Re: X-Cart Smart Template v4.4.x
 
Hi Can some one help me Please.
I'm trying to put a border on all my product .
Right now all my product are on left side of the page and it looks odd .
Is there a way i can make them in center and have a thin border around them.
Please Help Thanks in Advance.

I'm using smart template 3 col layout

PhilJ 10-16-2012 08:28 PM

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

On your demo, under the left panel section "Categories", rollover the main items. As you go down the list of main items, each of the second level subcategories fly out. However, there is no indication of whether there is a third level subcategory. This would be helpful for the shopper to see.

I give three possibilities on how to show this:
1. As you rollover the main category, all subcategories automatically fly out.
2. As you rollover the main cat, a
red (or different color) > symbol appears only on the second level cats that have a third level cat.

I'll work on that, and the Smart Template Demo for v4.5.3 is being updated.

Mr. G 10-21-2012 10:19 PM

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

Originally Posted by PhilJ
Try clearing your cookies also, or specifically the cookie named "view_Layout".
Quote:

Originally Posted by Mr. G
Yep that did it. Thanks. During dev testing I've always just done cleanup.php, cleared browser cache and refreshed browser and that would show changes. So this is a first (that I can remember) that this was necessary. I'll start clearing cookies from now on, too.


On both FF 16.01 and Chrome for Win7, navigating to my home page shows the row layout for an instant before showing grid. This slows page render time down. The delay is even worse on a smartphone. Google penalizes slow page load times in search engine ranking.

Since I know you're very busy, I paid Steve with CFL Systems to take a look. He wrote: "The layout switch does happen in switch_layout.js and it is read/ran after page load. There is also init.php which I suspect plays a role, but it is encrypted so nothing I can do there. Like I said - this is how this skin works - all layout dynamic changes are done with js/jQuery scripts which run after page is loaded os all elements are accessible."

Anything I can do to get the grid layout to load first and only? Please help. Thank you.

sabinudash 01-06-2013 08:36 PM

Re: X-Cart Smart Template v4.4.x
 
Is there a way to increase the number of rows for carousel featured products? Now, it shows fproducts in one row. I would like to have three rows.

I looked up js files for carousel; there's no settings to change rows number.

I appreciate any help.


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

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