Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Flag New Products with in a Category?

    Thank you. That squared that away. Now I think there is an issue with determining new, back in stock, and specials/featured products.

    Will work on that and post up when I get stuck again.

  2. #22
    Join Date
    Jan 2012
    Posts
    488
    Plugin Contributions
    0

    Default Re: Flag New Products with in a Category?

    If anyone else is interested in the css code required to make these ribbons.

    Obviously will need to change colors and position to suit your site.

    Base code was straight up stolen from here: http://css-tricks.com/snippets/css/corner-ribbon/


    Name:  product_icon_ribbon.png
Views: 162
Size:  38.3 KB


    Code:
    .productIcon {
      width: 85px;
      height: 88px;
      overflow: hidden;
      position: relative;
      left: -88px;
      top: -5px;
    
    }
    
    #productListing .productIcon {
      width: 85px;
      height: 88px;
      overflow: hidden;
      position: relative;
      left: -112px;
      top: -88px;
    
    }
    .ribbon {
      font: bold 15px Sans-Serif;
      color: #333;
      text-align: center;
      text-shadow: rgba(255,255,255,0.5) 0px 1px 0px;
      -webkit-transform: rotate(45deg);
      -moz-transform:    rotate(45deg);
      -ms-transform:     rotate(45deg);
      -o-transform:      rotate(45deg);
      position: relative;
      padding: 7px 0;
      left: -5px;
      top: 15px;
      width: 120px;
      background-color: #cf0404;
      background-image: -webkit-gradient(linear, left top, left bottom, from(#cf0404), to(#ff3019)); 
      background-image: -webkit-linear-gradient(top, #cf0404, #ff3019); 
      background-image:    -moz-linear-gradient(top, #cf0404, #ff3019); 
      background-image:     -ms-linear-gradient(top, #cf0404, #ff3019); 
      background-image:      -o-linear-gradient(top, #cf0404, #ff3019); 
      color: black;
      -webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.3);
      -moz-box-shadow:    0px 0px 3px rgba(0,0,0,0.3);
      box-shadow:         0px 0px 3px rgba(0,0,0,0.3);
      -webkit-backface-visibility: hidden; /* http://stackoverflow.com/a/6898097 */
    }
    
    .ribbon:before, .ribbon:after {
      content: "";
      border-top:   3px solid #ced19a;   
      border-left:  3px solid transparent;
      border-right: 3px solid transparent;
      position:absolute;
      bottom: -3px;
    }
    
    .ribbon:before {
      left: 0;
    }
    .ribbon:after {
      right: 0;
    Last edited by Limitless; 4 Sep 2013 at 07:06 AM.

  3. #23
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Flag New Products with in a Category?

    Thanks for researching/working this out and posting it! I'm sure it will be useful for lots of people.

  4. #24
    Join Date
    May 2008
    Posts
    402
    Plugin Contributions
    0

    Default Re: Flag New Products with in a Category?

    Quote Originally Posted by gjh42 View Post
    I want to add another place or two where the icons can be shown before final submission to Free Addons. Suggestions for the most desired places would be appreciated. (It actually only takes adding one function call to a line in a file to add icons to a location.)

    I'll leave this up while testing is continuing.
    Hello, would you happen to know if this is ok to use on v1.5.5? And is there is a way to use this for "Sold" icons over the thumbnail images in product listing pages? Thank you.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 3
    Last Post: 12 Dec 2015, 11:00 PM
  2. Replies: 2
    Last Post: 14 Dec 2011, 10:27 PM
  3. Replies: 1
    Last Post: 13 Jul 2009, 09:12 PM
  4. A flag to check whether category/subcat contains products
    By callingrohit in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 28 Sep 2008, 03:35 PM
  5. Category with no products dont display"There are no products to list in this category
    By atracksler in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 3 Apr 2008, 05:47 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR