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 01-03-2012 12:10 PM

Re: X-Cart Smart Template v4.4.x
 
Torben, it should display a list of products after typing 3 characters. Try typing 'mic' on the demo.

Ensure you have the dynamic search feature enabled in the template options.

If it's not working for you, then ensure you have uploaded all the files, including smart_dynamic_search.php in the root.

torbenbendixen 01-03-2012 12:15 PM

Re: X-Cart Smart Template v4.4.x
 
Hello Phil.
It is working, but it don't find products like the standard search.
If i edit a product and put in "abcde" in the field "Keywords" the standard search find this products if I search for abcde, but the dynamic search don't find this product.

Hope you know what i mean :-)

PhilJ 01-03-2012 01:29 PM

Re: X-Cart Smart Template v4.4.x
 
Torben, it should work fine, click here and enter 'abcdef' in the search and it should bring up the diamond ring product.

I understand what you mean though... the dynamic search feature does not work with the keywords, just the product titles.

torbenbendixen 01-04-2012 01:35 AM

Re: X-Cart Smart Template v4.4.x
 
I can see the product, but first after i push the magnifying glass.
The ring don't show as a dynamic product.

a1deano 01-05-2012 02:50 AM

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

Just wanted to ask if you have a code so i can put a vertical social media sharing box on the side, floating or not.
Thought id ask you first as it for your smart template.

Many thanks

yamadan 01-05-2012 07:20 PM

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

Originally Posted by Mr. G
Almost there! I followed all the instructions, then typed in a bad URL, and still got the default 404 XC page. I also tried uncommenting line 6 of the .htaccess file and made sure the file name was correct. Also cleared the template cache and local cache, cookies. Same. Note that if I enter www....com/404_custom.php, then your custom 404 page, with my changes, loads and looks great! After you tell me what to do, I'll be happy to edit the install instructions and repost it here for all to benefit for your awesome template :D.


I have tried the 404 download files and have the same problem, what was the cure for seeing the custom 404?

Thanks
Update:
I found a work around by adding the full path to the new file in htaccess
eg.
ErrorDocument 404 http://yourwebsite.co.uk/404_custom.php

PoC2 01-10-2012 10:28 AM

Re: X-Cart Smart Template v4.4.x
 
Sorry if I may have missed this, but I'm running (the latest?) Smart template with 4.4.4 and a user reported the following strange behaviour using Chrome:

Quote:

I use Google Chrome as my browser and it is updated to the latest version. Whenever I visit or go to a new page within it I get message at the top of the screen saying I am on an unsupported browser and suggesting I change to Chrome (amongst others)

So they're using the latest version of Chrome, but it thinks it's unsupported? Any ideas on a possible fix?

Many thanks!

Mr. G 01-10-2012 10:36 AM

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

Originally Posted by yamadan
I have tried the 404 download files and have the same problem, what was the cure for seeing the custom 404?

Thanks
Update:
I found a work around by adding the full path to the new file in htaccess
eg.
ErrorDocument 404 http://yourwebsite.co.uk/404_custom.php

This did not fix the problem for me.

candc 01-10-2012 10:39 AM

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

Originally Posted by PoC2
Sorry if I may have missed this, but I'm running (the latest?) Smart template with 4.4.4 and a user reported the following strange behaviour using Chrome:



So they're using the latest version of Chrome, but it thinks it's unsupported? Any ideas on a possible fix?

Many thanks!


Just untick the option in the settings :-)

PoC2 01-10-2012 11:14 AM

Re: X-Cart Smart Template v4.4.x
 
D'oh! Thank you! That was simple. :-)

Out of interest - is there somewhere in the database or a file that checks for this (just wondered about updating its checklist to allow it to work with the latest version of Chrome etc)?

PhilJ 01-10-2012 11:34 AM

Re: X-Cart Smart Template v4.4.x
 
The JS browser detection script is a little out of date, you can remove this code from skin/smart_template/custom/js/ie6/jquery.badBrowser.js

Code:

// Check for Chrome < Version 3.0
    var chrome = userAgent.indexOf('chrome');
    if (chrome > -1) {
        var snip1 = chrome+7;
        var version = userAgent.substring(snip1, (snip1+1));
        if (version < 3) {
            return true;
            }
    }
    // end


PoC2 01-11-2012 02:14 AM

Re: X-Cart Smart Template v4.4.x
 
Thanks, Phil. I've updated the file.

The person has since come back and said it's now fine!

junliw1975 01-11-2012 07:44 AM

Re: X-Cart Smart Template v4.4.x
 
I am using Smart Template V4.4.x and installed new product module, is there anyway that I can display them in mutiple pages? Right now it only displays in one page ( I want to display more than 50 items)

Thanks

jkwalz 01-21-2012 07:52 AM

Re: X-Cart Smart Template v4.4.x
 
Never mind....I am going to buy the Ability Template....

I apologize if this has been asked already but is there a way or easy tool that will allow me to generate a custom CSS theme for this template?

I know the new "Ability" template has that ability.

Thx,

Jason

PoC2 01-23-2012 04:09 AM

Re: X-Cart Smart Template v4.4.x
 
I hope this is a quick question.

I'm looking at creating an infobox in the right hand column of a three column layout in Smart Template.

There's nothing fancy inside it, just a box header saying "We Accept..." and the box itself containing logos for PayPal, Google Checkout etc.

Any quick pointers, very welcome. I've looked at modifying existing ones, but not sure how it would handle the box title as well.

Cheers!

Cankus 01-23-2012 06:40 AM

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

{capture name=menu}

Your content here

{/capture}
{include file="customer/menu_dialog.tpl" title="your box title" content=$smarty.capture.menu "}

PoC2 01-23-2012 08:10 AM

Re: X-Cart Smart Template v4.4.x
 
Thanks! It worked!

scalemar 01-25-2012 05:26 PM

Re: X-Cart Smart Template v4.4.x
 
Hello
It's Smart template able to work with the new x-cart 4.4.5?

Somebody tested?

Thank you
MC

PhilJ 01-25-2012 05:35 PM

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

It's Smart template able to work with the new x-cart 4.4.5?
It'll be tested tomorrow, as will Ability.

ediruzza 02-08-2012 10:09 AM

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

Did you test ST on 4.4.5 yet? Any issues?

PhilJ 02-08-2012 01:34 PM

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

Did you test ST on 4.4.5 yet? Any issues?

Yes, the current demo is based on X-Cart v4.4.5. No issues so far.

flyclothing 02-11-2012 02:21 PM

Re: X-Cart Smart Template v4.4.x
 
How do you add new social links at bottom of site? I would like to add pinterest but it's not showing. I have already added the image to the image folder and added this to the footer:

Quote:

<li class="social_6"><a target="_blank" rel="nofollow" href="http://pinterest.com/flyclothing/">Pinterest</a></li>


and this to the theme css

Quote:

.footer_nav_last li.social_6 a:link,
.footer_nav_last li.social_6 a:visited { color: #fff; text-decoration: none; background: url(../images/social/32/pinterest.png) 3px no-repeat; }


but the image is not showing up properly. It also looks like I need to increase the footer height.

torbenbendixen 02-18-2012 05:05 AM

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

Originally Posted by PhilJ
Mr G, try the attached.


I can't get this 404 error page to work.
Is there any fix to this?

Thank you.

taegon 02-22-2012 03:21 PM

Re: X-Cart Smart Template v4.4.x
 
In the New Products and the Random Products Modules on the home page, I am getting inaccurate prices. I mean they are close, but not correct to any of the options or combinations of options. The slider works well.

Happened after upgrade from 4.4.2 to 4.4.5.

Any ideas would be appreciated

flyclothing 02-28-2012 03:22 PM

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

I followed the instructions for the countdown mod on #72 but it is not working. I've added the countdown ticker to the cart for a leap year sale, modified the text and changed the dates in skin/smart_template/custom/js/countdown/countdown.js but it's still not working. Any guesses why?

Also, any update to the affiliate section in the Smart Template?

torbenbendixen 03-02-2012 03:54 AM

Re: Custom custom ;) 404 error page
 
Quote:

Originally Posted by Mr. G
I've read the manual about customizing 404 error pages.

However, I would like my 404 error page to be like (not the same as) a static page, where my custom 404 error message is within the skin, rather than an empty page like it is for the /xcart/skin/common_files/404/404_en.html page. That would be cool! 8-) Also, I do NOT want to do a redirect from the 404 error page either with a meta refresh or a 301 redirect. (Google doesn't like those. Google it.) I don't think I want to use some iframe :-& either.

The html files for XC static pages (example: /public_html/skin/common_files/pages/en/privacy_statement.html) don't include the necessary includes to display the containing skin/page structure. They are "called" from its parent php file somewhere. Perhaps if I knew where the parent php file was, I could clone and modify it and put it in the /xcart/skin/common_files/404/ folder and it would accomplish this task?
TIA!


When the CleanURLs are enabled, the <xcart-dir>/dispatcher.php script handles the '404 Page not found' errors. In this case the error message page is returned by the "func_page_not_found" function which can be found in the <xcart-dir>/include/func/func.core.php script.

In order to make it so that the custom pages of the 'Custom_404_Page' module will be shown, you must add the code below to the beginning of the "func_page_not_found" function in the <xcart-dir>/include/func/func.core.php script:
Code: text
if (is_readable($xcart_dir . '/your-404-error-filename.php')) {
func_header_location('your-404-error-filename.php');
}

That did the trick for me.

PhilJ 03-02-2012 06:12 AM

Re: X-Cart Smart Template v4.4.x
 
Minor fix for Chrome not displaying product prices and buttons in products list...

skin/smart_template/custom/css/common.css

Replace...

Code:

ul.grid_view li .product_block .overflow { overflow: hidden; } /* New */

With...

Code:

ul.grid_view li .product_block .overflow { overflow: hidden; clear: both; } /* New */

info@ausnetit.com.au 03-03-2012 12:33 AM

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

I'm using Version 4.4.4and having issues with IE 8.0?

http://www.lankadeals.com.au

Any idea pls.

taegon 03-03-2012 09:46 AM

Re: X-Cart Smart Template v4.4.x
 
How do I edit the "Random Products" and the "New Products" Blocks Layout on the Home Page? Change from 3 to 4 products and truncate the Title to 30 characters.

How do I edit "the "Grid View" Layout on the Category/Products Page?

Mr. G 03-03-2012 12:57 PM

Re: Custom custom ;) 404 error page
 
Quote:

Originally Posted by torbenbendixen
When the CleanURLs are enabled, the <xcart-dir>/dispatcher.php script handles the '404 Page not found' errors. In this case the error message page is returned by the "func_page_not_found" function which can be found in the <xcart-dir>/include/func/func.core.php script.

In order to make it so that the custom pages of the 'Custom_404_Page' module will be shown, you must add the code below to the beginning of the "func_page_not_found" function in the <xcart-dir>/include/func/func.core.php script:
Code: text
if (is_readable($xcart_dir . '/your-404-error-filename.php')) {
func_header_location('your-404-error-filename.php');
}

That did the trick for me.

Yes, finally, that is the solution. It's working for me. (I'm getting the 404 page inside the Smart Template skin.) Thanks!!!!!!

Mr. G 03-03-2012 01:15 PM

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

Originally Posted by PhilJ
Minor fix for Chrome not displaying product prices and buttons in products list...

skin/smart_template/custom/css/common.css

Replace...

Code:

ul.grid_view li .product_block .overflow { overflow: hidden; } /* New */

With...

Code:

ul.grid_view li .product_block .overflow { overflow: hidden; clear: both; } /* New */

Hi Phil,
The original code
Code:

ul.grid_view li .product_block .overflow { overflow: hidden; } /* New */
does not exist in my skin/smart_template/custom/css/common.css. I double checked the path and code carefully. FYI, I installed ST 12/2010. What should I do?

info@ausnetit.com.au 03-03-2012 11:41 PM

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

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

I'm using Version 4.4.4and having issues with IE 8.0?

http://www.lankadeals.com.au

Any idea pls.



Someone help me pls

PhilJ 03-03-2012 11:49 PM

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

I'm using Version 4.4.4and having issues with IE 8.0?

you need to specify what your issues are...

info@ausnetit.com.au 03-04-2012 12:04 AM

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

In IE 8 menu going down and where the slogan ⌠Homes of Advertising andDeals■ is appears differently by font and alignment in a Laptop, Notebook andiPhone

We were testing the appearance of the website invarious types of computers √ Desktop, Laptop, notebook and iphone. It seems tobe the webpage and its content does not automatically align with screenresolutions

taegon 03-04-2012 06:44 AM

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

Originally Posted by taegon
How do I edit the "Random Products" and the "New Products" Blocks Layout on the Home Page? Change from 3 to 4 products and truncate the Title to 30 characters.

How do I edit "the "Grid View" Layout on the Category/Products Page?



Any Help please?

info@ausnetit.com.au 03-15-2012 01:23 AM

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

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

In IE 8 menu going down and where the slogan ⌠Homes of Advertising andDeals■ is appears differently by font and alignment in a Laptop, Notebook andiPhone

We were testing the appearance of the website invarious types of computers √ Desktop, Laptop, notebook and iphone. It seems tobe the webpage and its content does not automatically align with screenresolutions


Hi,

I need your help to sort this issue.

Thanks,

JacksmithxD 03-15-2012 08:45 AM

Re: X-Cart Smart Template v4.4.x
 
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.

2coolbaby 03-15-2012 09:19 AM

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

Originally Posted by a1deano
Hi Phil

Just wanted to ask if you have a code so i can put a vertical social media sharing box on the side, floating or not.
Thought id ask you first as it for your smart template.

Many thanks



I wanted to see if anyone has found code to do this in this template. Since it is available in Ability, we should also be able to get it in this one. I do not want to spend over $100 and the time involved in installing new template just to get this feature.

bibi 03-15-2012 10:20 AM

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

The problem with the chrome browser is still not fixed. Please address this as soon as u can

I have installed Firefox 11 and the problem with the header colour not coming through is worst it is completely grey.

I really need to get this sorted.
Thanks

PhilJ 03-16-2012 06:29 AM

Re: X-Cart Smart Template v4.4.x
 
Bibi, just disable this option in the template settings...

"Display warning to unsupported browser users"

The Chrome detection code is out of date, this was addressed in this thread a few pages back.


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.