【问题标题】:Magento file upload enhancement using jQuery - getting upload to add to cart使用 jQuery 的 Magento 文件上传增强 - 将上传添加到购物车
【发布时间】:2011-09-26 05:35:55
【问题描述】:

我(非常粗略地)集成了 jQuery 以增强 Magento 的文件上传功能,但是,我还没有将上传的图像保存到购物车,即文件名没有出现在购物车中,因此用户收到需要产品选项的验证错误。

http://hotdiggity.com.au/installs/magento/tshirt.html

它在这个网站上运行成功:

http://topiono.de/index.php/oelbilder-vom-foto/portraits-personen.html

如有任何建议,我们将不胜感激。

【问题讨论】:

    标签: jquery file magento upload cart


    【解决方案1】:

    这是因为您没有在文件上传字段中指定允许的扩展名。例如,如果您尝试上传 jpg,则必须将 jpg 放入允许的扩展名中;如果您有多个扩展名,则必须将 jpeg 放入

    jpg,jpeg,gif,png

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-12-19
      • 2014-05-28
      • 1970-01-01
      • 1970-01-01
      • 2020-09-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多