Shopping Cart error
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Shopping Cart error
I'm following the tuitorial of adding a shopping cart to my site.
I downloaded the sample shop project, adapted it to mu requirements and got the error:
Fatal error: Uncaught Error: Cannot use string offset as an array in /homepages/1/d284770181/htdocs/RLHM/Shop/cart.php:48 Stack trace: #0 /homepages/1/d284770181/htdocs/RLHM/Shop/cart.php(16): AddToCart() #1 {main} thrown in /homepages/1/d284770181/htdocs/RLHM/Shop/cart.php on line 48
I then tried the unmodified shop project and got the same error.
Not being that techical I've no idea where to sart looking. I did check my php version in page propeties and its set tp php5 -php7
Where do I start looking please
I downloaded the sample shop project, adapted it to mu requirements and got the error:
Fatal error: Uncaught Error: Cannot use string offset as an array in /homepages/1/d284770181/htdocs/RLHM/Shop/cart.php:48 Stack trace: #0 /homepages/1/d284770181/htdocs/RLHM/Shop/cart.php(16): AddToCart() #1 {main} thrown in /homepages/1/d284770181/htdocs/RLHM/Shop/cart.php on line 48
I then tried the unmodified shop project and got the same error.
Not being that techical I've no idea where to sart looking. I did check my php version in page propeties and its set tp php5 -php7
Where do I start looking please
Re: Shopping Cart error
The script in the webshop tutorial was created a long time ago for PHP5. So, if you use PHP7 then you may need to tweak it a little bit.
Re: Shopping Cart error
Thank you for the suggestion but that is beyond my ability.
Is there any cahnce of it being updated?
Is there any cahnce of it being updated?
Re: Shopping Cart error
Futher to the above, has any one got a basic shopping product/buy/cart/customer details/pay example/tutorial that works on veriosn 16 they could share with me?
- BaconFries
-
- Posts: 5927
- Joined: Thu Aug 16, 2007 7:32 pm
Re: Shopping Cart error
The script / tutorial was created Wed Jun 27, 2007 5:21 pm and has remained the same so I doubt it will be updated.Is there any cahnce of it being updated
Something to read over
How to create a webshop with WYSYWYG Web Builder?
http://www.wysiwygwebbuilder.com/forum/ ... 10&t=57726
Creating a basic PayPal Shopping Cart
https://www.wysiwygwebbuilder.com/forum ... =39&t=4508
Re: Shopping Cart error
I have a mals ecommerce extension here
https://www.shop.grahamscomputers.net/w ... ite-1.html
There is a demo of it and it integrates with paypal, all very easy to setup and lots of options for the look on your site
Graham
https://www.shop.grahamscomputers.net/w ... ite-1.html
There is a demo of it and it integrates with paypal, all very easy to setup and lots of options for the look on your site
Graham
Re: Shopping Cart error
Thanks for the suggestions Guys,
GrahamW, I assume that Mals allows UK pounds etc.?
GrahamW, I assume that Mals allows UK pounds etc.?
Re: Shopping Cart error
If you're from the UK, one of your compatriots offers a shopping cart that I have used for some time now. Both simple/PayPal and Pro versions (PayPal + credit cards + dynamic with database). I have used both (I recently upgraded from the simple version to Pro) and both integrate well with WYSIWYG as they are NOT extensions but rather code inserted into WYSIWYG HTML objects.
https://www.vibralogix.com/
https://www.vibralogix.com/
====
Mitch
====
Mitch
====
Re: Shopping Cart error
Hey Mitch,
Do you have any live examples using the cart? I looked at there examples on their site but I didn't get a really good handle on how it should look. I wish their demo look more like what a shopping cart site would look like. What it appears to me that this only for the cart portion and nothing else. The list of products and the product page info itself is left up to you to design and create on your own correct?
Do you have any live examples using the cart? I looked at there examples on their site but I didn't get a really good handle on how it should look. I wish their demo look more like what a shopping cart site would look like. What it appears to me that this only for the cart portion and nothing else. The list of products and the product page info itself is left up to you to design and create on your own correct?
Re: Shopping Cart error
Hey Mitch I too Echo Ron's question. I am very keen on this Cart Pro but not sure yet...
Running WYSIWYG Web Builder since 2007...
Re: Shopping Cart error
This is my wife's site that I manage for her.
https://nailz.firlottecreations.com/
Products are under the SHOP menu.
Yes...you are correct. VibraCart manages the product and not the product page. Here's a product page:
https://nailz.firlottecreations.com/p001.html
And here's an image of the same product page in WYSIWYG:
https://nailz.firlottecreations.com/p00 ... -image.JPG
What I like about it is the Pro version is dynamic (database). It comes with an Admin Portal and I enter into the database the Title, Price, Product options, etc and it dynamically creates the buttons. If I need to change the price, title, or buttons or button options, I do it in the Admin Portal and the page takes care of itself.
It also has a load of other features.
Add a product to the cart and you'll see what the cart looks like. It also manages the taxes (Europe, USA, and Canada), shippings, and has so many discount options and choices.
https://nailz.firlottecreations.com/
Products are under the SHOP menu.
Yes...you are correct. VibraCart manages the product and not the product page. Here's a product page:
https://nailz.firlottecreations.com/p001.html
And here's an image of the same product page in WYSIWYG:
https://nailz.firlottecreations.com/p00 ... -image.JPG
What I like about it is the Pro version is dynamic (database). It comes with an Admin Portal and I enter into the database the Title, Price, Product options, etc and it dynamically creates the buttons. If I need to change the price, title, or buttons or button options, I do it in the Admin Portal and the page takes care of itself.
It also has a load of other features.
Add a product to the cart and you'll see what the cart looks like. It also manages the taxes (Europe, USA, and Canada), shippings, and has so many discount options and choices.
====
Mitch
====
Mitch
====
Re: Shopping Cart error
This looks good... esp the admin site...
Do you have total control over the look & feel of it?
Do you have total control over the look & feel of it?
Running WYSIWYG Web Builder since 2007...
Re: Shopping Cart error
I am based in the UK and very keen on this. Can you do me a favour? Can post a snippet of the code that you would insert as HTML object ? Really keen to find a e-com solution with a backend for a several projects that I am working on....mfirlotte wrote: Thu Oct 08, 2020 4:49 pm If you're from the UK, one of your compatriots offers a shopping cart that I have used for some time now. Both simple/PayPal and Pro versions (PayPal + credit cards + dynamic with database). I have used both (I recently upgraded from the simple version to Pro) and both integrate well with WYSIWYG as they are NOT extensions but rather code inserted into WYSIWYG HTML objects.
https://www.vibralogix.com/
Cheers Z
Running WYSIWYG Web Builder since 2007...
Re: Shopping Cart error
Zinc...yes...total control over look and feel. My site uses the embedded mini cart but there are 2 other cart types to choose from. The 3 types are demo'ed on the VibraLogix site. And their support is simply awesome. They have answered every question for me very quickly. Great support!!!
Here's snippet for the product TITLE:
<div style="text-align: center;">
<span style="color:black; font-size:35px; font-weight: bold;">
<span data-vc-type="description" data-vc-id="P001"></span>
</span>
</div>
And here's the snippet for the 5 product option buttons on that page:
<form class="vcaddtocart">
<div data-vc-type="addtocart" data-vc-id="P001" data-vc-currency="CAD"></div>
<input type="submit" class="vcbuybutton" value="VC BUTTON">
</form>
It's all DYNAMIC!
Best part is you do not have to code it yourself. From the product page in Admin Portal, there are Copy Snippet buttons so you just have to paste it into the HTML object.
Here's snippet for the product TITLE:
<div style="text-align: center;">
<span style="color:black; font-size:35px; font-weight: bold;">
<span data-vc-type="description" data-vc-id="P001"></span>
</span>
</div>
And here's the snippet for the 5 product option buttons on that page:
<form class="vcaddtocart">
<div data-vc-type="addtocart" data-vc-id="P001" data-vc-currency="CAD"></div>
<input type="submit" class="vcbuybutton" value="VC BUTTON">
</form>
It's all DYNAMIC!
Best part is you do not have to code it yourself. From the product page in Admin Portal, there are Copy Snippet buttons so you just have to paste it into the HTML object.
====
Mitch
====
Mitch
====
Re: Shopping Cart error
Nice one Mitch... I shall be checking this out and perhaps pecking your brain in the process... 

Running WYSIWYG Web Builder since 2007...
Re: Shopping Cart error
NO problem Zinc. Adrian...the owner at VibraLogix is an awesome fellow and responds quickly to all questions.
====
Mitch
====
Mitch
====
Re: Shopping Cart error
Cheers!mfirlotte wrote: Fri Oct 09, 2020 12:11 pm NO problem Zinc. Adrian...the owner at VibraLogix is an awesome fellow and responds quickly to all questions.
Running WYSIWYG Web Builder since 2007...
Re: Shopping Cart error
Another shopping cart option is to use ECWID https://www.ecwid.com/
Wysiwyg has extensions for ECWID or you can get the code snippets direct from ECWID and use Wysiwyg HTML object to put on the page
Upside to ECWID, all the products and prices are managed online on their site, you get the benifit of a site that already has checkout options, shipping, social media integrations, and multiple product options and variations that may or may not alter pricing.
Downside is that it is of course a paid platform, first 10 products are free, but you must pay after that. (although it is not as pricey as some of the other platforms such as Sh...ify)
Wysiwyg has extensions for ECWID or you can get the code snippets direct from ECWID and use Wysiwyg HTML object to put on the page
Upside to ECWID, all the products and prices are managed online on their site, you get the benifit of a site that already has checkout options, shipping, social media integrations, and multiple product options and variations that may or may not alter pricing.
Downside is that it is of course a paid platform, first 10 products are free, but you must pay after that. (although it is not as pricey as some of the other platforms such as Sh...ify)