Announcement

Collapse
No announcement yet.

Facet From a Flag Value

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

    Facet From a Flag Value

    I'd like to not have to create a second product custom field if I can use a selected flag as the facet. I'm trying to cut down on the number of steps needed to have an "On Sale" facet. There is already an "On Sale" Product Flag. If the only way this can be done is to create a second product custom field, than so be it but geez...
    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
    I was under the impression that you simply go into that custom field "edit dialog" and check the facet checkbox. Seems that nothing in custom fields isn't immutable. You can change code (but have to change the calls to it) change name, even 'type' (except for say text TO checkbox) without harming the data.

    And making a custom field a 'facet' doesn't mean you can't use it for other things.
    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
      Originally posted by Bruce - PhosphorMedia View Post
      I was under the impression that you simply go into that custom field "edit dialog" and check the facet checkbox. Seems that nothing in custom fields isn't immutable. You can change code (but have to change the calls to it) change name, even 'type' (except for say text TO checkbox) without harming the data.

      And making a custom field a 'facet' doesn't mean you can't use it for other things.
      I don't think you quite understand what I was attempting to do. Yes, there is a custom field called Product Flags (and that is how it would display if the Product Flags custom field is selected). BUT within the custom field called Product Flags is a drop down select with multiple choices (Values). Again, if you include the custom field Product Flags as a Facet, then all of the different Values that are part of that custom field Product Flags become "facets" under the heading of Product Flags. Yes you could edit this dialog to something else but that is NOT what I am looking to do. I want the to be able to display (assign) the single Value "ON SALE" as a facet WITHOUT having to create a separate custom field to assign to the product. This came up because the store owner had wanted an "ON SALE" facet.

      Now with all things hopefully explained, it's probably a moot point since the store has a Category called Sale and since categories are a filter...
      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
        I think you're best off creating a new custom field that does what you want. If you don't want the merchant to have to remember to set it, you could have a feed tied to a scheduled task that runs periodically and just has code to set (or unset) the on Sale custom field based on the value of your Product Flags custom field.
        Brennan Heyde
        VP Product
        Miva, Inc.
        [email protected]
        https://www.miva.com

        Comment

        Working...
        X