Announcement

Collapse
No announcement yet.

Multiple Product Flags

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

  • Bruce - PhosphorMedia
    replied
    Only if the flags are of a fixed sized, otherwise you'd need to make a javascript/jQuery routine to query the actual size of the flag to use as the offset :). the custom field thing would be relatively easy (though off the top of my head, not sure how miva returns a multiple-selection dropdown or checkbox field. You might find it easier to create your own 'flag' fields then just poll each one, and for each found, create and offset.

    pseudo code

    get Flag1
    IF Flag1
    expr Flag1
    assign Offset1 as <style>.nextFlag { top: 20px }</style>
    getFlag2
    IF Flag2 AND Offset1
    expr Offset1
    ELSEIF Flag2
    expr Flag2
    END

    Leave a comment:


  • lesliekirk
    replied
    Originally posted by Bruce - PhosphorMedia View Post
    You'd also need to add CSS to add an offset so the flags don't overlap. (I assume that most are positioned to a specific location within the container div via 'absolute' positioning.)
    That's the easy part...

    Leave a comment:


  • Bruce - PhosphorMedia
    replied
    You'd also need to add CSS to add an offset so the flags don't overlap. (I assume that most are positioned to a specific location within the container div via 'absolute' positioning.)

    Leave a comment:


  • Matt Zimmermann
    replied
    Hi Leslie,

    That is something you will have to custom code for. Out of the box, neither DiVino nor Levels will display multiple flags.

    Leave a comment:


  • lesliekirk
    started a topic Multiple Product Flags

    Multiple Product Flags

    I'd like (need) to have multiple product flags. Has anyone attempted this using the product custom fields? It's currently a dropdown, can I change it to multi-text? Is it going to need a loop to determine if there is more than one?
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