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