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


Active 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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / 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?

For quick, professional OpenCart support please email info@antropy.co.uk


User avatar
Guru Member

Posts

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

Users browsing this forum: No registered users and 27 guests