Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Suddenly started seeing this issue when trying to add anything to the basket, or amend basket orderlines.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Umbraco.Web.BaseRest.RestExtensionMethodInfo.Invoke(String parameters)
System.ArgumentException: The product doesn't have a store id associated with it - remember to add the Tea Commerce store picker to your Umbraco content tree
at TeaCommerce.Umbraco.Configuration.InformationExtractors.PublishedContentProductInformationExtractor.GetStoreId(IPublishedContent product, VariantPublishedContent variant)
at TeaCommerce.Umbraco.Configuration.InformationExtractors.PublishedContentProductInformationExtractor.GetSku(String productIdentifier)
at TeaCommerce.Umbraco.Configuration.Marketing.Models.ProductUtils.OrderLinesThatMatchProductOrProductCategory(IProductService productService, Int32 nodeId, IEnumerable1 orderLines)
at TeaCommerce.Umbraco.Configuration.Marketing.Models.Rules.ProductRule.IsFulfilledBy(Order order, IEnumerable1 previouslyFulfilledOrderLines)
The site has a Store Picker on the top level node, with an alias of "store", and I can see the storeId in the html source and also output via razor on the basket page.
Are your product nodes that are in the basket descendants of the node with the store picker on it? and are they all published? I think you may be getting caught out by this issue https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/issues/84
It pointed me in the right direction though !!
We had a Marketing rule with a Product Rule linking to either a deleted or unpublished node.
Cool, thanks Ian.
That should be fixed in the next release then.
Glad you were able to resolve the issue.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted