Hi all,
I am able to create products via a POST call such as:
http://mysite.mivamerchant.net/creat...00&weight=2.00
The page I am hitting has the following:
<mvt:do name="l.success" file="g.Module_Library_DB" value="Product_Load_Code( g.code, l.settings:product )" />
<mvt:if expr="ISNULL l.settings:product">
<mvt:assign name="l.product:code" value="g.code" />
<mvt:assign name="l.product:name" value="g.name" />
<mvt:assign name="l.product:price" value="g.price" />
<mvt:assign name="l.product:weight" value="g.weight" />
<mvt:assign name="l.product:width" value="g.width" />
<mvt:assign name="l.product:active" value="1" />
<mvt:do file="g.Module_Library_DB" name="l.ok" value="Product_Insert( l.product )" />
Product Added
<mvt:else>
Product Exists
</mvt:if>
The issue is that I need to add the Shipping Length, Width, and Depth to ensure that shipping calculates properly. Editing these items is a non-starter as I have millions of options.
Is there a token for the Shipping Dimensions or how would I add the length, width and depth via my approach?
I am able to create products via a POST call such as:
http://mysite.mivamerchant.net/creat...00&weight=2.00
The page I am hitting has the following:
<mvt:do name="l.success" file="g.Module_Library_DB" value="Product_Load_Code( g.code, l.settings:product )" />
<mvt:if expr="ISNULL l.settings:product">
<mvt:assign name="l.product:code" value="g.code" />
<mvt:assign name="l.product:name" value="g.name" />
<mvt:assign name="l.product:price" value="g.price" />
<mvt:assign name="l.product:weight" value="g.weight" />
<mvt:assign name="l.product:width" value="g.width" />
<mvt:assign name="l.product:active" value="1" />
<mvt:do file="g.Module_Library_DB" name="l.ok" value="Product_Insert( l.product )" />
Product Added
<mvt:else>
Product Exists
</mvt:if>
The issue is that I need to add the Shipping Length, Width, and Depth to ensure that shipping calculates properly. Editing these items is a non-starter as I have millions of options.
Is there a token for the Shipping Dimensions or how would I add the length, width and depth via my approach?
Comment