当前位置:网站首页>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 !
边栏推荐
- Ten commandments of self-learning in machine learning
- Linear regression of common mathematical modeling models for College Students
- R语言dist函数计算dataframe数据中两两样本之间的距离返回样本间距离矩阵,通过method参数指定距离计算的方法、例如欧几里得距离
- Kotlin study notes
- Architects reveal the difference between working in Alibaba, Tencent and meituan
- ROS 笔记(06)— 话题消息的定义和使用
- 如果你也想做自媒体,不妨听大周给您点建议
- Explain factor analysis in simple terms, with case teaching (full)
- Is it safe to open an account and buy stocks? Who knows
- Dark horse shopping mall ---3 Commodity management
猜你喜欢

15. Notes on the button style of WPF

flutter常用命令及问题

How do super rookies get started with data analysis?

Découvrir gaussdb (pour redis): une comparaison complète avec Codis

plt.gca()画框及打标签

How to use SPSS to do grey correlation analysis? Quick grasp of hand-to-hand Teaching

Use PHP script to view the opened extensions

SDN系统方法 | 9. 接入网

Uncover gaussdb (for redis): comprehensive comparison of CODIS

Understanding and construction of devsecops and Devops
随机推荐
K8s, docker compose install MySQL 8.0.18
PD1.4转HDMI2.0转接线拆解。
2022 meisai e topic ideas sharing + translation
Web project development process
An article clearly explains MySQL's clustering / Federation / coverage index, back to table, and index push down
R语言使用构建有序多分类逻辑回归模型、epiDisplay包的ordinal.or.display函数获取有序logistic回归模型的汇总统计信息(变量对应的优势比及其置信区间、以及假设检验的p值)
20、wpf之MVVM命令绑定
What are redis avalanche, penetration and breakdown?
plt. GCA () picture frame and label
【数据中台】数据中台的OneID是个什么鬼,主数据它不香吗?
R语言dplyr包summarise_at函数计算dataframe数据中多个数据列(通过向量指定)的计数个数、均值和中位数、在每个函数内部指定na.rm参数、通过list指定函数列表
如果你也想做自媒体,不妨听大周给您点建议
R language dplyr package summary_ The at function calculates the count number, mean and median of multiple data columns (specified by vectors) in the dataframe data, and specifies na RM parameter, spe
SDN system method | 9 Access network
黑馬暢購商城---3.商品管理
黑马畅购商城---2.分布式文件存储FastDFS
Gradle知识点
动态代理
Implementing Domain Driven Design - using the ABP framework - Summary of a series of articles
架构师为你揭秘在阿里、腾讯、美团工作的区别