Page 1 of 1

Cart2 "add to cart" doesn't show

Posted: Thu Jul 20, 2017 10:09 am
by nulea
Version de CMSMS™ 2.2.2

Modules installés
AdminSearch 1.0.4
CGEcommerceBase 1.7
CGExtensions 1.56
CGPaymentGatewayBase 1.6.2
CGSimpleSmarty 2.1.6
CGSmartImage 1.21.9
CMSContentManager 1.1.5
CMSMailer 6.2.14
Captcha 0.5.5
Cart2 1.3.1
CmsJobManager 0.1
DesignManager 1.1.3
FileManager 1.6.3
FilePicker 1.0
FormBuilder 0.8.1.6
FrontEndUsers 2.4.4
Gallery 2.3.2
JQueryTools 1.4.0.3
MenuManager 1.50.3
MicroTiny 2.2
ModuleManager 2.1.1
Navigator 1.0.7
News 2.51.2
PaypalGateway 2.5.3
Products 2.26.9
Search 1.51.2
TinyMCE 3.2-beta2

Hello,

I want to create a very simple shop for dematerialized stuff, so basically the goal of the project is to get the customer to pay by Paypal and send the order to the shop owner.

My fresh installation of the package CGEcommerceBase/Cart2/Products/PaypalGateway looks ok, but when I try to activate the "add to cart" part of the product list template, the rest of the page is white.
Of course I checked that the SKU is required in the preferences of my Products manager, and a unique SKU value is set for all my products.
Cart2 is selected as cart manager in my CGEcommerceBase settings.

I tried different syntaxes as seen on the forum but it just doesn't work :

Code: Select all

{Cart2 sku=$entry->sku}

Code: Select all

{cms_module module='Cart2' sku=$entry->sku}

Code: Select all

{cgecomm_form_addtocart product=$entry->id}
At first the CMSMS version was 2.1.6, I upgraded it to 2.2.2 and totally uninstalled/deleted/reinstalled the modules in hope it would be a compatibility problem but nope...
Has anyone an idea of what I can do now to solve my problem? ???
I'm not experienced in the development of shops in CMSMS so maybe I forgot a very obvious point?

Thank you!

Re: Cart2 "add to cart" doesn't show

Posted: Thu Jul 20, 2017 10:27 am
by velden
I recently faced some problems using the Cart2 template. Explicitly the

Code: Select all

{cgecomm_currency_symbol}
plugin didn't seem available and causing an error.

So try to comment out those tags to test (perhaps multiple variants/occurences):

Code: Select all

{*cgecomm_currency_symbol*}

Re: Cart2 "add to cart" doesn't show

Posted: Thu Jul 20, 2017 10:31 am
by nulea
Thank you for your quick answer, I try this now.
It smells like a good track, as another symptom is that in my products list page, the currency shows for the first item but not the others.

Re: Cart2 "add to cart" doesn't show

Posted: Thu Jul 20, 2017 1:12 pm
by nulea
Nope, the problem remains :(

Re: Cart2 "add to cart" doesn't show

Posted: Thu Jul 20, 2017 1:58 pm
by velden
Then I think you should check if php error logging is on and check the log files.

Setting debug on in config.php might help too to get some more information: https://docs.cmsmadesimple.org/configur ... nfig_debug

Re: Cart2 "add to cart" doesn't show

Posted: Tue Jul 25, 2017 10:02 am
by nulea
(Sorry for the late answer, I didn't see your message until now)

I don't see any pertinent information when I activate the debug mode in the config...
I also tried to add a hierarchy for my products (you know, "just in case" :D), same problem.

Feel stuck :(