WebShopping

All Quick 'n Easy Web Builder support issues that are not covered in the forums below.
Post Reply
michling
Posts: 65
Joined: Tue May 14, 2013 5:16 pm

WebShopping

Post by michling »

I take it this does not work any longer.
https://www.quickandeasywebbuilder.com/webshop.html

Is there an update or something similar?

Thanks
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: WebShopping

Post by Pablo »

What make you think this does not work? It uses standard PHP code, so it not directly related to the QWB version.

Alternatively you can try this:
http://www.quickandeasywebbuilder.com/f ... =1&t=44071
moris
Posts: 251
Joined: Fri Aug 18, 2017 8:43 am

Re: WebShopping

Post by moris »

Hi,

The https://www.quickandeasywebbuilder.com/webshop.html looks pretty neat and easy to use. does it support only PayPal as the payment method?

Thank you!
michling
Posts: 65
Joined: Tue May 14, 2013 5:16 pm

Re: WebShopping

Post by michling »

Pablo wrote: Thu Jun 04, 2020 6:24 am What make you think this does not work? It uses standard PHP code, so it not directly related to the QWB version.

Alternatively you can try this:
http://www.quickandeasywebbuilder.com/f ... =1&t=44071
When I try to use the demo, I get this:
Fatal error: Uncaught Error: Cannot use string offset as an array in /homepages/26/d368084380/htdocs/support/webshop/cart.php:48 Stack trace: #0 /homepages/26/d368084380/htdocs/support/webshop/cart.php(16): AddToCart() #1 {main} thrown in /homepages/26/d368084380/htdocs/support/webshop/cart.php on line 48

When I put it on my webserver, I get a simular message?

I will try the other one. Thanks
User avatar
Pablo
Site Admin
Posts: 3918
Joined: Mon Feb 13, 2006 7:00 am
Location: Europe
Contact:

Re: WebShopping

Post by Pablo »

The error is related to the PHP version.

For newer versions of PHP please change

Code: Select all

$cart = isset($_SESSION['cart']) ? $_SESSION['cart'] : '';
to

Code: Select all

$cart = isset($_SESSION['cart']) ? $_SESSION['cart'] : array();
Post Reply