No announcement yet.

Shipping Conditional

  • Filter
  • Time
  • Show
Clear All
new posts

  • Shipping Conditional

    Is there a way to set up a conditional based on a product's type of shipping?

    For example, if a product offers free shipping, I'd just like to include a message that specifies that on the PROD template.

    Any advice is greatly appreciated!

  • The easiest way to do this is to have a custom product field be used to store if a product gets free shipping or not. Then on the prod template you can read in this value and if it offers free shipping display your custom messaging.

    Here are some docs on how to use custom product fields in the page templates:

    Brennan Heyde
    VP Product
    Miva, Inc.
    [email protected]


    • That makes sense, thanks Brennan.

      I may have been overthinking the issue.
      Last edited by Rick Wilson; 06-13-18, 10:57 AM.


      • We had this done for us without a product custom field based on product price equal or greater than x, and cart total equal or greater than x for category and product page.
        Thank you, Bill Davis


        • I ended up checking to see if products are assigned to particular price group because we have far too many SKUs to keep track of custom field settings.

          <mvt:do file="g.Module_Feature_PGR_DB" name="l.ok" value="PriceGroup_Load_Name( 'Your Price Group Name Here', l.price_group )" />
          <mvt:if expr="l.price_group:id GT 0">
          <mvt:comment>Price Group Exists</mvt:comment>
          <mvt:do file="g.Module_Feature_PGR_DB" name="l.b" value="PriceGroupXProduct_Load( l.price_group:id , l.settings:product:id, l.settings:pricegroupvar )" />
          <mvt:if expr="NOT ISNULL l.settings:pricegroupvar">
          <img src="/mm5/images/freeshipping.png" class="freeshipping-image" alt="Free ground shipping to the 48 contiguous United States" />
          <mvt:assign name="l.settings:pricegroupvar" value="''" />



          This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

          This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.