Welcome to you
I have to write a product configurator consisting of several steps. Finished product I have to add to the basket and here my problems begin. Can I add another product with JSON description to the basket? Where does Opencart store product information in the shopping cart?
Prior to openCart 3 cart data was stored in the session $session->data['cart'], and in openCart 3 it's in cart table in the database.
To add product to cart you do something like this: You should research system/library/cart/cart.php to see how it's all implemented.
To add product to cart you do something like this:
Code: Select all
$this->cart->add($product_id, $quantity, $options); //$options is optional array
Extensions for affiliates (openCart 1, 2, 3):
Advanced Multi Level Affiliate System
Customer and Affiliate Accounts Combined into one Account
Affiliate Tracking with Coupons
Discount for Referred Customers - Order Total
Type Tracking Code
Mass Pay
Affiliate Transactions for openCart 3
Affiliate Pack X - all modules with 40% discount
Who is online
Users browsing this forum: No registered users and 521 guests