Ecshop系统添加免运费赠品后购物车变为收取运费解决办法
flow.php
代码如下 | 复制代码 |
/* 添加赠品到购物车 */ |
出问题的地方正是函数“add_gift_to_cart”,找到函数的定义,仍在在flow.php文件,
我把该函数修改后的源码贴出来,大家对照一下就明白了:
代码如下 | 复制代码 |
function add_gift_to_cart($act_id, $id, $price) market_price, ". is_shipping " . |
这样就很好的解决了Ecshop系统添加免运费赠品后,购物车变为收取运费的bug这个问题了。
本文地址:
转载随意,但请附上文章地址:-)

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

