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

    #2
    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


      #3
      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


        #4
        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


          #5
          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


            #6
            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


              #7
              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


                #8
                Originally posted by kayakbabe View Post
                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.
                Awesome idea!
                Highly caffeinated
                http://www.coffeehouseexpress.com

                Comment


                  #9
                  Oh good grief...I find my own post about no product flags in Shadows. Seems they are not part of 2.0 either.

                  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


                    #10
                    Originally posted by lesliekirk View Post
                    Oh good grief...I find my own post about no product flags in Shadows. Seems they are not part of 2.0 either.
                    Leslie are you looking for a single flag or multiple like the solution above from kayakbabe? If you are looking for a simple "Sale" flag, I have a very simple solution.
                    Highly caffeinated
                    http://www.coffeehouseexpress.com

                    Comment


                      #11
                      Originally posted by Jim Cockerham View Post

                      Leslie are you looking for a single flag or multiple like the solution above from kayakbabe? If you are looking for a simple "Sale" flag, I have a very simple solution.
                      Yeah, wow, I'm back again. I think I'm just missing some small piece of CSS to get the (single) flag to overlay the image....
                      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

                      Working...
                      X