Featured/New Product

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #59699
    yaykenny
    Participant

    Hi,

    It would be neat if we had a checkbox on products to mark them as “New” or “Special Offer” – at the front end the product would then have a banner across it in the same way as the timed menu shows “unavailable”.

    Thanks Ollie

    #59751
    Olly
    Admin & Mod

    the next update of the plugin will also have the ability to add “tags” to each menu item. the slug of each tag will then be added as css class name to the surrounding article html element of each item which you can then use to mark products as needed . perhaps with some css like (assuming a tag of “special offer”)

    
    .special-offer:after {
    content: 'special offer';
    position: absolute;
    top: 0;
    left: 15px;
    z-index: 10;
    background-color: #EFEFEF;
    text-align: center;
    font-size: 90%;
    line-height: 20px;
    display: block;
    padding: 2px 30px;
    -webkit-transform: translateY(-20px) translateX(-60px) rotate(-30deg);
    -moz-transform: translateY(-20px) translateX(-60px) rotate(-30deg);
    -ms-transform: translateY(-20px) translateX(-60px) rotate(-30deg);
    -o-transform: translateY(-20px) translateX(-60px) rotate(-30deg);
    transform: translateY(-20px) translateX(-60px) rotate(-30deg);
    -webkit-transform-origin: top right;
    -moz-transform-origin: top right;
    -ms-transform-origin: top right;
    -o-transform-origin: top right;
    transform-origin: top right;
    }
    
    #59801
    yaykenny
    Participant

    Thanks Olly

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.