"Add to cart" code produces an error

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
KarlDD
Forum Members
Forum Members
Posts: 15
Joined: Wed Jul 04, 2012 3:48 am

"Add to cart" code produces an error

Post by KarlDD »

Hello forum,

I am on CMSMS 1.11.2 and when I add this code to my Summary template in the Products manager template it produces an error:

Code: Select all

{cge_have_module m='CGEcommerceBase' assign='tmp'}
{if $tmp}
<div>
{cgecomm_form_addtocart product=$entry->id} 
</div>
{/if}
the error is as reads:
OMG! You broke this page.
ERROR: at line 806 in file /var/www/html/lib/smarty/sysplugins/smarty_internal_templatebase.php:

Message:

Call of unknown method 'capture_error'.
My installed modules:
Installed Modules
CMSMailer 5.2.1
CMSPrinting 1.0.3
FileManager 1.4.1
MenuManager 1.8.4
MicroTiny 1.2.3
ModuleManager 1.5.5
News 2.12.9
Search 1.7.7
ThemeManager 1.1.7
TinyMCE 2.9.11
CGSimpleSmarty 1.5.2
CGExtensions 1.31
JQueryTools 1.1.1
Products 2.18.4
CGSmartImage 1.9.4
CGEcommerceBase 1.3.11
Cart 1.8.4
please help this is very frustrating as another site I have with the same code works fine but on a older version of cmsms
Post Reply

Return to “Modules/Add-Ons”