Variant "Code" not "Prompt" displayed in cart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • photodon
    Mini Mivite

    • Aug 2007
    • 30

    #1

    Variant "Code" not "Prompt" displayed in cart

    Is there any easy way to get the attribute "Prompt" to display in the Cart instead of the "Code" value?

    Example:
    Code: "1612" is displayed in the cart
    Prompt: "16 x 12 inch cloth" is the description / prompt and what the customer understands

    Miva Merchant 5.5
    Production Release 8 Update 10.1
    Miva Merchant Engine v5.19
    Database API: mysql


    Thanks / Don
  • Dan - Glendale Designs
    Mega Mivite


    • Sep 2006
    • 2904

    #2
    Re: Variant "Code" not "Prompt" displayed in cart

    Give the following a try:

    Code:
    <mvt:if expr="l.settings:option:option_id">
    &mvt:option:attr_prompt;: &mvt:option:opt_prompt;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data">
    &mvt:option:attr_prompt;: &mvt:option:data;
    <mvt:elseif expr="NOT ISNULL l.settings:option:data_long">
    &mvt:option:attr_prompt;: &mvt:option:data_long;
    <mvt:else>
    &mvt:option:attr_prompt;
    </mvt:if>
    Note, previous versions of Miva Merchant required a module for this.

    Comment

    • photodon
      Mini Mivite

      • Aug 2007
      • 30

      #3
      Re: Variant &quot;Code&quot; not &quot;Prompt&quot; displayed in cart

      Thanks for the reply!

      Would this need to be added to the Basket Contents Page (BASK) template section and also the other checkout pages?

      Comment

      Working...
      X