Tento plugin nebol testovaný s najnovšími 3 hlavnými vydaniami WordPress. Už nemusí byť udržiavaný alebo podporovaný a môže mať problémy s kompatibilitou pri použití s novšími verziami WordPress.

WOO Stickers by Webline

Popis

Product sticker plugin to improve customer experience while shopping by providing stickers for New products, On Sale products, Soldout Products which is easily configure from admin panel without any extra efforts.

Key Features

  • Sticker for New, On Sale, Soldout Products
  • Admin can define number of days to define product as new.
  • Admin can configure different style of stickers
  • Admin can enable/disable this sticker feature
  • Admin can configure stickers for Product List as well for Product Detail page
  • Upload Custom Sticker functionality

Obrázky

  • Stickers on listing page.
  • The Round stickers on listing page.
  • The Round stickers of New product on detail page.
  • The Ribbon stickers of New product on detail page.
  • The Ribbon stickers of Sale product on Listing page.
  • Custom stickers with Ribbon Sticker on New and Sale product detail page.
  • The Custom stickers for Sold product on detail page.
  • WOO Stickers menu in admin side under Settings.
  • General Configuration of WooStickers Plugin.
  • New Product Configuration of WooStickers Plugin.
  • Sale Configuration of WooStickers Plugin.
  • Sold Configuration of WooStickers Plugin.

Inštalácia

  1. Upload ‚woo-stickers-by-webline‘ to the ‚/wp-content/plugins/‘ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress
  3. Done!

Časté otázky

Installation Instructions
  1. Upload ‚woo-stickers-by-webline‘ to the ‚/wp-content/plugins/‘ directory
  2. Activate the plugin through the ‚Plugins‘ menu in WordPress
  3. Done!
Sticker image is not display in product detail page.

We have tested plugin in standard themes of WordPress. We found some themes which design is not proper or structured, in that case you have to override specific class to your Theme style and set margin according to that.

Custom sticker image is repeating.

We have a standard image dimension is 54 X 54 for custom sticker image. if dimension is below this size problem may occur, in that case you have to override the class „custom_sticker_image“ to your own theme style or you can create image according to that size.

Recenzie

august 19, 2019
The custom image ability is a nice feature and the ability to resize it via css is wonderful. Thanks heaps 🙂
december 20, 2018
Hi If you'd like to see the sticker on the cart page for sold out items here are 7 steps that I added to the plugin. (Works for me on WP 5.0.1 WC 3.5.2). /public_html/wp-content/plugins/woo-stickers-by-webline/public/css/woo-stickers-by-webline-public.css ===================================================================================================== Add at the BOTTOM ----------------- .woocommerce table.shop_table .woocommerce-cart-form__cart-item td { position: relative !important; } .woocommerce-mini-cart .woosticker { display: none; } /public_html/wp-content/plugins/woo-stickers-by-webline/public/class-woo-stickers-by-webline-public.php ======================================================================================================= line 65 Add ,[new line]'enable_sticker_cart' => 'no' ---------------------------------------------------- // Merge with defaults $this->general_settings = array_merge ( array ( 'enable_sticker' => 'no', 'enable_sticker_list' => 'no', 'enable_sticker_detail' => 'no', 'enable_sticker_cart' => 'no' ), $this->general_settings ); line 285 (after previous addition) just before the last } that closes the class ------------------------------------------------------------------------------- /** * Call back function for show sold product badge on cart. * * @return string * @param string $product_image The product image. * @param string $cart_item. * @param string $cart_item_key. * @author Doron Shemesh */ public function show_cart_product_soldout_badge($product_image, $cart_item, $cart_item_key) { if ($this->general_settings['enable_sticker'] == "yes" && $this->sold_product_settings['enable_sold_product_sticker'] == "yes") { if( (!is_product() && $this->general_settings['enable_sticker_cart'] == "yes") ) { $product = $cart_item['data']; $classSoldPosition=(($this->sold_product_settings['sold_product_position']=='left') ? ((is_product())? " pos_left_detail " : " pos_left " ) : ((is_product())? " pos_right_detail " : " pos_right ")); $classSold=(($this->sold_product_settings['sold_product_custom_sticker']=='')?(($this->sold_product_settings['enable_sold_product_style'] == "ribbon") ? (($this->sold_product_settings['sold_product_position']=='left')?" woosticker soldout_ribbon_left ":" woosticker soldout_ribbon_right ") : (($this->sold_product_settings['sold_product_position']=='left')?" woosticker soldout_round_left ":" woosticker soldout_round_right ")):"woosticker custom_sticker_image"); if($product->get_type()=='variable') { $total_qty=0; $available_variations = $product->get_available_variations(); foreach ($available_variations as $variation) { if($variation['is_in_stock']==true){ $total_qty++; } } if($total_qty==0){ if($this->sold_product_settings['sold_product_custom_sticker']=='') { echo '<span class="'.$classSold . $classSoldPosition .'">Sold Out</span>'; } else { echo '<span class="' . $classSold . $classSoldPosition . '" style="background-image:url('.$this->sold_product_settings['sold_product_custom_sticker'].');"> Sold Out </span>'; } } } else { if (! $product->is_in_stock ()) { if($this->sold_product_settings['sold_product_custom_sticker']=='') { echo '<span class="'.$classSold . $classSoldPosition .'">Sold Out</span>'; } else { echo '<span class="' . $classSold . $classSoldPosition . '" style="background-image:url('.$this->sold_product_settings['sold_product_custom_sticker'].');"> Sold Out </span>'; } } } } } return $product_image; } /public_html/wp-content/plugins/woo-stickers-by-webline/includes/class-woo-stickers-by-webline.php ================================================================================================== line 214 just before closing the function define_public_hooks ------------------------------------------------------------- //action to show sold out product badge on Cart page // By Doron Shemesh $this->loader->add_filter('woocommerce_cart_item_thumbnail', $plugin_public, 'show_cart_product_soldout_badge', 11, 3 ); /public_html/wp-content/plugins/woo-stickers-by-webline/admin/class-woo-stickers-by-webline-admin.php ======================================================================================================== line 150 Add ,[new line]'enable_sticker_cart' => 'no' ---------------------------------------------------- // Merge with defaults $this->general_settings = array_merge ( array ( 'enable_sticker' => 'no', 'enable_sticker_list' => 'no', 'enable_sticker_detail' => 'no' ), $this->general_settings ); line 215 (after previous addition) at the end of the function register_general_settings --------------------------------------------------------------------------------------- // By Doron Shemesh add_settings_field ( 'enable_sticker_cart', 'Enable Sticker On Cart Page:', array ( &$this, 'enable_sticker_cart' ), $this->general_settings_key, 'section_general' ); line 423 (after previous additions) before /** * New Product Settings :: Enable Stickers ---------------------------------------------- /** * General Settings :: Enable Sticker On Cart Page * * @return void * @var No arguments passed * @author Doron Shemesh */ public function enable_sticker_cart() { ?> <select id='enable_sticker_cart' name="<?php echo $this->general_settings_key; ?>[enable_sticker_cart]"> <option value='yes' <?php selected( $this->general_settings['enable_sticker_cart'], 'yes',true );?>>Yes</option> <option value='no' <?php selected( $this->general_settings['enable_sticker_cart'], 'no',true );?>>No</option> </select> <p class="description">Select wether you want to enable sticker feature on cart page or not.</p> <?php } Enjoy
január 18, 2018
Super easy to install and use. Worked first time out of the box. Added our own stickers to match site design. Customer happy. Thanks - will implement on other Woo based sites selling real products. So nice when a Plug In just works.
december 12, 2017
This is an excellent plugin. It works perfectly. You can make different settings for new products, products on sale, and sold out products. Thank you for this great plugin! Note to users - if you want a "Sold" sign to appear, you need to make sure that in WooCommerce > Settings > Products that "Hide out of stock items from the catalog" is NOT checked. You should also check the settings in your products under "Inventory" to make sure they are correct.
september 24, 2017
This does what it says, and I like that you can upload your own sticker (though suggestions for size would be helpful). I have a slight issue with the sticker placement (as did another reviewer), but that can be fixed. My main issue is that the "Sold Out" sticker simply says "Sold", which is a bit misleading. I guess I need to upload my own sticker to fix that. If the wording can be fixed in the next update, that would be great. Thank you.
Prečítať všetkých 22 recenzií

Prispievatelia a vývojári

“WOO Stickers by Webline” je softvér s otvoreným zdrojovým kódom. Do tohto pluginu prispeli nasledujúci ľudia.

Prispievatelia

„WOO Stickers by Webline“ bol preložený do 3 jazykov. Ďakujeme prekladateľom za ich príspevky.

Preložiť „WOO Stickers by Webline“ do vašho jazyka.

Máte záujem o vývoj?

Prehľadávajte zdrojový kód, preskúmajte SVN repozitár, alebo sa prihláste na odber vývojárskeho logu cez RSS.

Zoznam zmien

1.1.1

Release Date: Dec 30, 2017

  • Fix: Sold out sticker issue for variable product.
  • Fix: Minor bug fixes.
  • Fix: Checked compatibility with WooCommerce version 3.2.6 and WordPress version 4.9.1

1.1.0

Release Date: May 06, 2017

  • Fix: WooCommerce 3.x compatibility fixes.
  • Fix: Resolved Sticker shows above title issue.
  • Fix: Minor other bug fixes.

1.0.4

Release Date: March 05, 2015

  • Fix: Soldout product sticker not display on category page or listing while product is on sale and out of stock.

1.0.3

Release Date: March 04, 2015

  • Enhancement: Setting link on Plugins page.
  • Enhancement: Added field for Product Sticker Position and Custom sticker upload for new, sale and soldout product.
  • Enhancement: Shorten tab names.
  • Fix: Override the default behavior of woocommerce badge.
  • Fix: Setting options updated.
  • Fix: Uninstall hook option delete.
  • Fix: Field description updated.
  • Fix: New product default value.

1.0.2

Release Date: November 29, 2014

  • Enhancement: Added field to consider product as new.

1.0.1

Release Date: November 26, 2014

  • Initial release