Skip to content

Instantly share code, notes, and snippets.

@steveosoule
Last active July 26, 2023 20:08
Show Gist options
  • Save steveosoule/147be8d202a09b6137d6b23b8ee04f69 to your computer and use it in GitHub Desktop.
Save steveosoule/147be8d202a09b6137d6b23b8ee04f69 to your computer and use it in GitHub Desktop.
Miva - PROD Price Debugger
<pre>
@@price
product:price=&mvte:product:price;
product:inv_level=&mvte:product:inv_level;
attributemachine:product:price=&mvte:attributemachine:product:price;
attributemachine:product:inv_level=&mvte:attributemachine:product:inv_level;
attributemachine:variant_id=&mvte:attributemachine:variant_id;
<mvt:assign name="g.mvt_debug" value="glosub( miva_array_serialize( l.settings:product ), ',', asciichar( 10 ) )" />
@@l.settings:product
&mvt:global:mvt_debug;
<mvt:assign name="g.mvt_debug" value="glosub( miva_array_serialize( l.settings:attributemachine:product ), ',', asciichar( 10 ) )" />
@@l.settings:attributemachine:product
&mvt:global:mvt_debug;
</pre>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment