Hi Guys,
I’ve done a bit of field mappings since we began using our store. I am pretty sure I am doing everything correctly, but I am having an issue getting a certain field mapped:
product[‘product_weblinxcustomnumber1’]
I have tried:
- NSc Sync > Configuration > Advanced > Field Mappings > Item > Add Field > (PAM Field | Standard Field - BOTH)
- Remote Field Name: product_weblinxcustomnumber1
- Field Source: nitroasl_pamtable.Stock_MN (float, NULL)
Note: Stock_MN was added to nitroasl_pamtable via SQL Query in Management Studio, but displays in PAM just fine…
Now back in the WebStore > Buy Panel template, I am attempting to display some html if ‘product[‘product_weblinxcustomnumber1’]’ is greater than ‘0’:
{if (product['product_weblinxcustomnumber1'] gt 0)}
<span class="warehouse">{product['product_weblinxcustomnumber1']}/{product['product_stock']} Stored @ Minnesota Warehouse</span>
{endIf}
Unfortunately, the snippet above does not work because ‘product[‘product_weblinxcustomnumber1’]’ always returns ‘0’ (when it should be returning numbers like ‘818’, ‘135’, ‘10.5’, etc.)