Howdy,
So when I get an order in FoxEE, and I look at it under the “orders” tab, pretty much 100% of the time it says “Invalid Sku Provided”. When I look in the Activity Log, it says “Invalid Product code”. (ie, “FoxyCart Datafeed Error (orderid: 1138295) Invalid product code sent: TEST). So either the SKU or the product code is wrong. Or maybe both?
This is a problem because it appears to be preventing FoxEE’s inventory tracking from working correctly. My add to cart code is below. Any ideas of what could be amiss?
Thanks,
Mark
{if foxee_has_inventory}
{exp:foxee:addtocart id="{entry_id}" hide_fields="quantity" label="Register" dates="{start_date format="%F %j"} - {end_date format="%F %j"}" time="{day}, {time}"}
{/if}
results in a form that looks like:
<form id="foxycart_1575" method="post" action="https://mysite.foxycart.com/cart" class="foxycart ">
<input type="hidden" name="block_fb" value="false" />
<input type="hidden" name="shipping_phone" value=" " />
<input type="hidden" name="x:sku" value="1575" />
<input type="hidden" name="code" value="TEST" />
<input type="hidden" name="weight" value="0.00" />
<input type="hidden" name="name" value="Test Product" />
<input type="hidden" name="price" value="0.00" />
<input type="hidden" name="category" value="default" />
<input type="hidden" name="dates" value="-" />
<input type="hidden" name="time" value="" />
<input type="hidden" name="h:quantity" value="1" />
<input type="hidden" name="quantity_max" value="100" />
<input type="submit" name="submit" value="Register" class="foxycart_link " />
</form>
