Announcement

Collapse
No announcement yet.

Need Help with Conditional for Tracking Method

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Need Help with Conditional for Tracking Method

    Hi,

    In my shipping confirmations the Shipping Method is not displaying as it should but the tracking links are working fine. Instead of fighting with this any longer I was thinking a conditional would solve the issue based on the URL in the link. We only ship FedEx and USPS.

    Trying to get this below to work but no luck.

    Shipped Via:
    <mvt:if expr="l.settings:shipment_info:tracklink CIN 'https://www.fedex.com'">
    FedEx
    <mvt:else>
    USPS
    </mvt:if>



    Thanks,
    Mike

    #2
    Real Close:

    Shipped Via:
    <mvt:if expr="'fedex' CIN l.settings:shipment_info:tracklink">
    FedEx
    <mvt:else>
    USPS
    </mvt:if>
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      Worked perfect. Thank you!!

      Now to figuring out why ShipWorks isn't changing the shipping method.

      Comment

      Working...
      X