Announcement

Collapse
No announcement yet.

custom fields / checkbox

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

    custom fields / checkbox

    I'm trying to hide a shipping method on OSEL if a custom product field 'disable flat rate shipping for this item' is checked.

    Code:
    <mvt:if expr="l.settings:product:customfield_values:customfields:p_disable_usps_flatrate EQ 'yes'">style="display: none"</mvt:if>
    can you tell me if the format is correct for a checkbox customfield?

    This is just a stopgap measure as our site is being redesigned (the shipping rules don't work currently as we haven't upgraded all the site templates).

    #2
    Ok, well I was saved by Phosphormedia's Inspector addin which allowed me to see where the value was stored and fix my code.

    Comment


      #3
      Originally posted by habreu View Post
      Ok, well I was saved by Phosphormedia's Inspector addin which allowed me to see where the value was stored and fix my code.

      Yea, what I was going to say :)...but probably leave the url to Merchant Inspector
      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

      Working...
      X