1
使用shopify gem我试图将产品添加到自定义集合中。无法将产品添加到自定义集合
c = ShopifyAPI::CustomCollection.first(:title => "Man")
p = ShopifyAPI::Product.find(95448374)
如果我尝试:
c.products << p
c.save
=> true
但产品不添加到自定义集合。
我也试过
p.collections << c
p.save
=> true
但还是产品不添加到集合......为什么?
任何帮助,非常感谢!
奥古斯托
耶!非常感谢你这么快速准确的答复! – Augusto 2012-07-10 13:01:03