![]() |
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
Since QT just released that probably all non-standard XC mods will not function properly until patched by their developers. This is normal. I personally would suggest anyone using anything before 4.5.x not to upgrade or to upgrade if this will be new store. The patch will work only on XC files and if you have custom skin not using one of the default XC skins as base then the patch will not apply to it - you need to manually go over all files and update them. And of course all 3rd party mods and customizations....
|
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
On a clean 4.5.0 install the upgrade runs without any issues. There is a problem with it though - after smarty is upgraded the ajax add to cart on product details pages doesn't work. It reloads the page. On product details page the ajax add to cart works. Please fix
|
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
Quote:
I'm sorry, but it seems I failed to replicate this problem. Could you please let me know if there are any error records in X-Cart error logs? |
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
There are no errors. Perhaps I wasn't clear - the "buy now" button on products list pages works and adds to cart but instead of doing it in the background it reloads the page. The "add to cart" button on product details page works as it should - without reloading the page
|
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
OK, I see. I tried the same steps in the featured products section list on the ideal comfort skin on the home page. I got product added without any page reload. Probably there is some admin backend option difference.
|
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
There were no changes to XC, just as it is installed, applied the patch and the button stops working. Try any other skin and you will see it not working.
JFYI so you can fix that upgrade 1. Ideal Comfort - skin loads, button works 2. Books & Magazines - skin loads, button doesn't work 3. Light & Lucid - skin loads, button doesn't work 4. Artistic Tunes - skin doesn't load at all - error Code:
PHP Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/var/www/blacksea/xcart450smarty/skin/artistictunes_business/customer/bread_crumbs.tpl" on line 5 "{if $location and not($main eq "catalog" and $current_category.category eq "")}" unknown function "not"' in /var/www/blacksea/xcart450smarty/include/lib/smarty/sysplugins/smarty_internal_templatecompilerbase.php:627 6. Vivid Dreams - skin loads, button doesn't work |
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
Just my observation - seems like XC 4.5.0 gets slower with Smarty3 upgrade. I thought Smarty 3 is supposed to be faster and more efficient....
|
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
Quote:
I've done several tests and sometimes Smarty3 works faster, but not always. Obviously the speed is almost the same (since no specific Smarty3 features used). I cannot perform a complete test at the moment as it requires a dedicated server. |
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
Quote:
The issue has been fixed. I've updated the pack. |
Re: X-Cart 4.4.x/4.5.x (Smarty2 -> Smarty3 update)
Quote:
Only the skin not loading issue or the buy now button issue as well? |
All times are GMT -8. The time now is 12:10 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.