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

更改产品的颜色属性

On each product's page right now there is a drop down menu that shows all colors available for the product. Even if there is only one color available, the drop down list appears. I want this list not be appaearing if the is only on color available. How can I do this ?

In my opinion. Unless you are creating a configurable product, you should either use an attribute that is not dropdown type, or simply include the color as part of the product title.

近期文章

  • 将输入从使用JavaScript和AJAX的HTML表单传递到PHP POST方法
  • 我是否需要清理GD文本函数的用户输入(im​​agettftext,imagestring等)
  • 如何动态获取WordPress媒体库
  • 覆盖用户表单Sonata UserBundle
  • 我的查询获取varchar的最大值时出错
  • 使用PHP和AngularJS从MySql数据库读取数据
  • 如何将python / django项目与仅为php提供api的web服务集成?
  • 使用Curl在PHP中使用用户名和密码访问API
  • 如何从服务器上传和播放不同格式的视频?
  • PHP图片上传点错误
  • Wordpress文件上传
  • 获得2位小数的百分比
  • 从PHP后端仅返回JSON
  • PHP数组CSS属性选择器
  • 无法将远程文件下载到服务器
  • Laravel不返回控制器变量错误
  • 语言呈现不正确(例如阿拉伯语)
  • Laravel多个查询无效的地方
  • 如何访问CakePHP Shell参数?
  • forest数据在bootstrap滑块上显示行中的数据

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华