jtoc Posted June 5, 2012 Share Posted June 5, 2012 When I click Add to Cart button for any product the cart does not update automatically. I have to refresh the page to see the item and price added to the cart. I do not see the image slide across into the cart either. It's a new, clean install and still using the default theme. Thanks. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Hi jtoc, Can you please post a link where we can see this for ourselves? -Mike Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 http://216.119.152.124/~jtoc9890/shop/ Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 In your Back Office under the Modules section, can you please check to see if you have Ajax Cart enabled? -Mike Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 I'm new at PS….but I searched all the modules and do not find Ajax Cart. Is this a mod or a setting in the admin? Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 I'm new at PS….but I searched all the modules and do not find Ajax Cart. Is this a mod or a setting in the admin? My apologies, it looks like I skipped a step. The module is called Cart Block. Once you click on "Configure," you'll see the option for Ajax Cart. -Mike Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 Found it It was Active. I deactivated>saved>re-activated>tested….didn't work. I also cleared my cache on my browser…no luck. Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 I reset the mod…that didn't work Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 In your config/config.inc.php file, can you please set "display_errors" to "on", then reload the page and let me know if any error messages appear on your page when you try to add something to the cart? -Mike Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "/home/jtoc9890/public_html/shop/modules/blockcart/blockcart.tpl" on line 83 "{$customization.datas.$CUSTOMIZE_TEXTFIELD.0.value|escape:html:'UTF-8'|replace:"<br />":" "|truncate:28}" unknown modifier "replace"' in /home/jtoc9890/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431 Stack trace: #0 /home/jtoc9890/public_html/shop/tools/smarty/sysplugins/smarty_internal_compile_private_modifier.php(62): Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown modifie...', 83) #1 /home/jtoc9890/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(276): Smarty_Internal_Compile_Private_Modifier->compile(Array, Object(Smarty_Internal_SmartyTemplateCompiler), Array, NULL, NULL) #2 /home/jtoc9890/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(123): Smarty_Internal_TemplateCompilerBase->callTagCompile in/home/jtoc9890/public_html/shop/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.phpon line 431 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Hi jtoc, Please replace your modules/blockcart/blockcart.tpl file with the version I've attached below and let me know if that resolves your issue. blockcart.zip Please note that you will need to unzip this file first, the forums do not permit the upload of .tpl files. -Mike Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 I unzipped to my desktop > Selected upload module file from Modules in Admin > Upload file button > message displayed 'Unknown archive type' blockcart.tpl is the file name Link to comment Share on other sites More sharing options...
jtoc Posted June 5, 2012 Author Share Posted June 5, 2012 Ok…I used ftp…the add to cart works…but new error message. Appreciate the help! Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/jtoc9890/public_html/shop/classes/Page.php on line 59 Link to comment Share on other sites More sharing options...
Mike Kranzler Posted June 5, 2012 Share Posted June 5, 2012 Ok…I used ftp…the add to cart works…but new error message. Appreciate the help! Warning: array_key_exists() [function.array-key-exists]: The first argument should be either a string or an integer in /home/jtoc9890/public_html/shop/classes/Page.php on line 59 Yes, you need to use FTP to upload files. You can try replacing your Page.php file with the attached version as well, but if you get an error here as well I would suggest that you consider doing a clean reinstall, as it appears your installation may have had some issues. Page.php -Mike Link to comment Share on other sites More sharing options...
Recommended Posts