当前位置:网站首页>Repair the error that ECSHOP background orders prompt insufficient inventory when adding goods. Please reselect
Repair the error that ECSHOP background orders prompt insufficient inventory when adding goods. Please reselect
2022-06-25 12:24:00 【ECSHOP development】
Repair ECSHOP When adding goods to the background order, it will prompt the wrong problem of insufficient inventory. Please reselect ,ecshop All versions contain ecshop4.1 This appears in all versions bug Not officially repaired , as a result of ecshop stay ajax When invoking a product , Default a radio attribute to a non radio attribute , That makes it impossible to read the inventory of goods , Therefore, it will always prompt that the inventory is insufficient , Please re select BUG problem . This BUG The solution to the problem is as follows :
Open the backstage templates In a folder order_step.htm file , Search and find the following code
else
{
attrHtml += result.attr_list[i][0].attr_name + ': ' + result.attr_list[i][0].attr_value + '<br />';
}
Change to the following code
else
{
if (result.attr_list[i][0].attr_type == 1)
{
attrHtml += result.attr_list[i][0].attr_name + '<input type="radio" checked name="spec_' + specCnt + attrTypeArray + '" value="' + result.attr_list[i][0].goods_attr_id + '"'+' />' + result.attr_list[i][0].attr_value + '<br />';
specCnt++;
}
else
{
attrHtml += result.attr_list[i][0].attr_name + ': ' + result.attr_list[i][0].attr_value + '<br />';
}
}
Tips “ Insufficient inventory, please re select ” The problem is fixed !
边栏推荐
- The R language uses the follow up The plot function visualizes the longitudinal follow-up map of multiple ID (case) monitoring indicators, and uses stress The type parameter specifies the line type of
- 黑馬暢購商城---3.商品管理
- R language uses GLM function to build Poisson logarithmic linear regression model, processes three-dimensional contingency table data to build saturation model, and poisgof function of epidisplay pack
- K8s, docker compose install MySQL 8.0.18
- Is it safe to open an account and buy stocks? Who knows
- Update of complex JSON in MySQL
- apple 为什么要改 objc_msgSend 的类型申明
- Controllable character image synthesis based on attribute decomposition and Gan reproduction
- R语言使用glm函数构建泊松对数线性回归模型处理三维列联表数据构建饱和模型、epiDisplay包的poisgof函数对拟合的泊松回归模型进行拟合优度检验(检验模型效果)
- PD1.4转HDMI2.0转接线拆解。
猜你喜欢
2022 meisai topic C idea sharing + translation
Old ou, a fox friend, has had a headache all day. The VFP format is always wrong when it is converted to JSON format. It is actually caused by disordered code
Dark horse shopping mall ---3 Commodity management
刷入Magisk通用方法
Explain factor analysis in simple terms, with case teaching (full)
plt.gca()画框及打标签
The first techo day Tencent technology open day in 2022 will be held online on June 28
How to use ARIMA model for prediction?
【OceanBase】OceanBase简介及其与MySQL的比较
Use PHP script to view the opened extensions
随机推荐
How to open an account for trading futures Shanghai nickel products online
Uncover gaussdb (for redis): comprehensive comparison of CODIS
Kotlin学习笔记
动态代理
ROS 笔记(06)— 话题消息的定义和使用
What is principal component analysis? Dimension reduction of classical case analysis variables
confluence7.4. X upgrade record
SQL function summary
R语言dplyr包summarise_at函数计算dataframe数据中多个数据列(通过向量指定)的计数个数、均值和中位数、在每个函数内部指定na.rm参数、通过list指定函数列表
R语言dist函数计算dataframe数据中两两样本之间的距离返回样本间距离矩阵,通过method参数指定距离计算的方法、例如欧几里得距离
机器学习自学成才的十条戒律
The dist function of R language calculates the distance between two samples in dataframe data, returns the distance matrix between samples, and specifies the distance calculation method through the me
Gradle knowledge points
ROS notes (06) - definition and use of topic messages
How to use SPSS to do grey correlation analysis? Quick grasp of hand-to-hand Teaching
Understanding and construction of devsecops and Devops
VIM common commands and shortcut keys
The first techo day Tencent technology open day in 2022 will be held online on June 28
实现领域驱动设计 - 使用ABP框架 - 系列文章汇总
黑马畅购商城---6.品牌、规格统计、条件筛选、分页排序、高亮显示