Announcement

Collapse
No announcement yet.

Product Flags

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

  • Product Flags

    Looks like Shadows doesn't have the Product Flags custom field. Has anyone added the code? Is there a snippet for it?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

  • It might be easier to just add your own. There are quite a few examples on the webs for these types of displays.
    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


    • I guess I could just go grab the conditional code from another ReadyTheme too...
      Leslie Kirk
      Miva Certified Developer
      Miva Merchant Specialist since 1997
      Previously of Webs Your Way
      (aka Leslie Nord leslienord)

      Email me: [email protected]
      www.lesliekirk.com

      Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

      Comment


      • Yea, though it's pretty simple and you can create your own with more flexibility. For example. We did one where we had one field for the 'tag name' and a couple of boolean fields that represented styles (the actual field name of the boolean was used as the style tag). That way, NEW! could be yellow, SALE! could be red, GOING FAST, blue, etc. If a new style is needed, you just need to add another boolean custom field and then add the style rules needed.
        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


        • I used the levels theme as my inspiration for this same thing. but I took it a step farther cause I wanted different colors for the different flags too.
          Though I didn't use a boolean. I just added the value of the flag to my css. That way I save the cpu from having to do the boolean check in the first place


          example in pseudo logic

          custom field
          name: product flag
          values (dropdown) : New, Sale, Hot

          css in my page templates:

          <div class="flag custom_field:value">custom_field:value</div>


          Comment


          • oh.. and I setup a scheduled task that runs a feed which determines to set/unset and what flag to set.
            So my flags are all automated. Much easier to keep track of.
            Hot sellers are calculated by what is selling best in the last x number of days.
            New as always assigned to the products in the new product category (and that is automated too using the date created date)
            and sale is from items assigned to the sale category and overstock category.
            Also.. the flags are also set in a heirarchy.
            of course HOT is never changed to new or sale. Seems like people like to know and buy what is HOT selling.
            new is low flag on the totem pole for us.

            HOT
            sale
            new

            it works great.

            Comment


            • I suppose someone might want all three flags.. if so, maybe assign them to different css tags. And instead of a drop down choice for one custom field.. maybe three fields instead of using one?
              Lots of ways to tackle this one.

              Comment

              Working...
              X

              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.

              Accept