我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Prestashop - 区分订单,无论是手动订单还是前端订单

I am started using prestashop 1.6. I want to show in order list (backoffice), whether it is from admin (manual order placed by admin), or frontend (order placed by customer). Is there any way to check this. I don't find any db field to differentiate it. If i missed, please help me to solve it.

you need to check in _cart table by the join of _orders. recognize orders from BE of two columns:

  • id_shop_group
  • id_guest

both will be 0 if they come from BE

近期文章

  • 如何在laravel中使用数组字段分配关系和获取数据
  • 如何爆炸substr - PHP Captcha
  • 我怎样才能在时间组合框中添加am / pm
  • 所有列字段yii2的值相同
  • 已安装mbstring扩展但无法正常工作
  • 如何使用mysql查询获取parent_id?
  • php类型def与bind params不匹配
  • 如何在Yii 2中检索会话值
  • 没有被选中的选择框多个[重复]
  • 如何更改URL结构 - Codeigniter 3
  • 改进POST请求并检索json编码结果
  • 如何在php中检索MongoDB多个数组值?
  • Symfony3表单构建器setAction不会重定向到路由
  • 在下拉选择器中显示悬停在选项上的工具提示
  • ajax代码没有将数据从表转到第二行
  • 我在数据库中有2条记录Vue输出8条记录
  • 在多维数组中获取值,以创建一个由PHP中的键和值组成的全新值
  • PHP递归JSON儿童搜索
  • 如何为所有方法创建一次对象?
  • 在Smarty中使用php no captcha recaptcha代码

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华