Jump to content

Create a new cart in pretashop programatically


bhawin91

Recommended Posts

Hi all

 

I want to know the procedure of creating a new cart in prestashop programatically

 

I am in      myprestashopproject/override/controllers/admin/AdminReturnController.php

 

 

here i am in             "function postprocess()"

 

can anyone please help me in creating one 

 

 

i hva tried $cart = new Cart();

 

it returned null

Edited by bhawin91 (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...