doucai1901 2018-10-10 15:38
浏览 62
已采纳

使用MYSQL从Prestashop中的订单ID获取产品清单

Im new in Prestashop ,i want to get the details of products from the id order from the data base so can anyone help me with the mysql query .

  • 写回答

1条回答 默认 最新

  • doumao8355 2018-10-10 16:32
    关注

    Use PrestaShop classes instead of mysql query:

        $order = new Order($id_order);
        $details = $order->getProductsDetail();
        d($details);
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?