Post by steve SJ » Thu Jun 25, 2020 2:37 am

I'm new to open cart can someone help with the code to add to cart button without having products in a data base. I want a simple website that can just add products to the cart
Regards Steve

Newbie

Posts

Joined
Thu Jun 25, 2020 2:34 am

Post by Cue4cheap » Thu Jun 25, 2020 8:58 am

So you want to add a product to the cart that you have not added to the database??
That isn't how it works....
Mike
Last edited by straightlight on Thu Jun 25, 2020 9:15 am, edited 1 time in total.
Reason: Removed some of the question marks.

cue4cheap not cheap quality


Expert Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by straightlight » Thu Jun 25, 2020 9:16 am

steve SJ wrote:
Thu Jun 25, 2020 2:37 am
I'm new to open cart can someone help with the code to add to cart button without having products in a data base. I want a simple website that can just add products to the cart
Regards Steve
Older OC versions use to do this in the past. However, the database version to handle products into the cart is more secured than what it used to be in the past. Therefore, I would not suggest the use of session super global to store products.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by paulfeakins » Thu Jun 25, 2020 6:47 pm

steve SJ wrote:
Thu Jun 25, 2020 2:37 am
I'm new to open cart can someone help with the code to add to cart button without having products in a data base. I want a simple website that can just add products to the cart
Why?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom
Who is online

Users browsing this forum: Bing [Bot] and 57 guests