Review Code PHP for PrestaShop 1.7.x

Hi have a PHP Code to Create Cart and Order.

Work in PrestaShop 1.6 but not in 1.7

you can review this code for work in 1.7 version

This i the Code:

$cart = new Cart();

$cart->id_customer = Tools::getValue('cliente');

$cart->id_address_delivery = Tools::getValue('indirizzo_consegna');

$cart->id_address_invoice = Tools::getValue('indirizzo_fatturazione');

$cart->id_lang = $default_lang;

$cart->id_currency = $valuta;

$cart->id_carrier = $corriere;


$cart = new Cart($cart->id);

$idXfor = 0;

foreach($_POST["prodotto"] as $prodotto) {

$qta = $_POST["qta"][$idXfor];

//This code not work in 1.7

$cart->updateQty($qta, $prodotto, $id_product_attribute = null, $id_customization = false, $operator = 'up', $id_address_delivery = 0, $shop = null, $auto_add_cart_rule = true);


//End of code not work in 1.7

$idXfor = $idXfor+1;


$cart = new Cart($cart->id);

//This code not work in 1.7

$total = $cart->getOrderTotal(true, Cart::BOTH);

//End of code not work in 1.7

$customer = new Customer(Tools::getValue('cliente'));


Beceriler: PHP, Prestashop

Daha fazlasını gör: prestashop pdf invoice , VERINT Call Recording ( V 7.x,V9, V10, V11 v15.1,) AVAYA Call recording Solution,Voice Technical Designer Quality Monitoring,, prestashop 1.7, php, css, html, shopping carts, prestashop, ecommerce development, prestashop 1.7 upgrade, prestashop 1.6 1.7, prestashop 1.6 to 1.7, platform php mysql review code, show preview flash code php, flex chat source code php, job code php, invitation code php script, convert code php, unique code php, google conversion code php

İşveren Hakkında:
( 2 değerlendirme ) PESARO, Italy

Proje NO: #16349090



Hi, I've checked the project description and I'm sure we can handle the task. Prestashop is our expertise - [login to view URL] and we've already helped our customers for their Prestashop related website & platforms. Daha Fazla

%selectedBids___i_period_sub_7% gün içinde 34%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(46 Değerlendirme)

Bu iş için 9 freelancer ortalamada €36 teklif veriyor


Hi, We are efficient in Prestashop site creation and customization. We can try to solve this issue now. Below are the Prestashop sites created by us: [login to view URL] [Prestashop] [login to view URL] [ Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(178 Değerlendirme)

Hello, I hope you all is well your side, I have WordPress, CMS ,and PHP backend skill. I'm ready to work on your project. I have gone through your project requirement and it is clear to me. I can do this work as p Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(235 Değerlendirme)

Hi, I am very interested to work on your project. I have 15+ years experience in Web Development using a large variety of programming languages, frameworks, database architecture, APIs, CRMs, ERPs, mobile develo Daha Fazla

in %bids___i_period_sub_35% gün içinde28%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(54 Değerlendirme)

Prestashop EXPERT HERE! Hello How are you? I am working with Prestashop since last 9 years. Can you please share more details of this project? What is website URL? I can surely help you. Thank you.

in %bids___i_period_sub_35% gün içinde87%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(16 Değerlendirme)

Thanks for your job posting. I have read carefully looked at your project requirements and I can do best job. If you have desire to work with me, please contact me. Thanks.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(14 Değerlendirme)

A proposal has not yet been provided

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(51 Değerlendirme)

BeYoutifool designs, are creative, unconventional, and impeccably unique. These designs give personality to your brand. The convergence of brilliance and simplicity, is the inception of your success

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(4 Değerlendirme)
1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% EUR
(0 Değerlendirme)