{"id":14522,"date":"2011-08-21T17:14:07","date_gmt":"2011-08-21T17:14:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ecwid-useful-tools\/"},"modified":"2014-10-20T17:34:35","modified_gmt":"2014-10-20T17:34:35","slug":"ecwid-useful-tools","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/ecwid-useful-tools\/","author":7817531,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.8 beta9","stable_tag":"trunk","tested":"4.0.38","requires":"3.2","requires_php":"","requires_plugins":"","header_name":"Product Advisor for Ecwid","header_author":"Qualiteam Software Limited","header_description":"","assets_banners_color":"","last_updated":"2014-10-20 17:34:35","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/wordpress.org\/extend\/plugins\/ecwid-useful-tools\/","header_author_uri":"http:\/\/www.qtmsoft.com\/wordpress-services.html","rating":4.7,"author_block_rating":0,"active_installs":10,"downloads":18400,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.5","0.5.1","0.6","0.7","0.7.1","0.7.2","0.7.3","0.7.4","0.7.5","0.7.6"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5441,1242,3045,2653,3972],"plugin_category":[45,59],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-14522","plugin","type-plugin","status-publish","hentry","plugin_tags-ecwid","plugin_tags-shop","plugin_tags-shopping-cart","plugin_tags-store","plugin_tags-tools","plugin_category-ecommerce","plugin_category-utilities-and-tools","plugin_committers-fkie","plugin_committers-seyfin","plugin_committers-tony-sologubov"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ecwid-useful-tools.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Product Advisor for Ecwid is a plugin for Wordpress that allows to show Random\nProducts, Bestsellers, On Sale &amp; Latest Products from Ecwid store. It allows to\nshow products as widget or it can be used as shortcode, so products will be\ninserted into entry's body.<\/p>\n\n<p>Product Advisor for Ecwid must be used side by side with Ecwid Shopping Cart\nplugin (http:\/\/wordpress.org\/extend\/plugins\/ecwid-shopping-cart\/) and cannot\nwork without it. Also, Product Advisor for Ecwid uses some settings of Ecwid\nShopping Cart plugin such as Ecwid Store ID, so basically Product Advisor for\nEcwid extends the functionality of the core Ecwid Shopping cart plugin.<\/p>\n\n<h3>Configuration<\/h3>\n\n<p>After installation, Product Advisor for Ecwid is generally ready to work without\nany configuration.<\/p>\n\n<p>However, if you do not have paid Ecwid account, you may experience problems with\ncurrency display. In this case, you may want to define currency settings\nmanually. For that you should:<\/p>\n\n<ol>\n<li>Go to the \"Settings &gt; Product Advisor for Ecwid\" section in your Wordpress\nback-end and tick the \"Use manually-defined currency settings\" checkbox.<\/li>\n<li>After that define currency prefix or\/and suffix.<\/li>\n<li>Save changes.<\/li>\n<\/ol>\n\n<p>For example:\n- if you define prefix as '&pound;' your prices will look like\n&pound;7.56\n- if you difine suffix as '&euro;' your prices will look like\n7.56&euro;<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Log into your Wordpress back-end<\/li>\n<li>Go to Plugins &gt; Add New section<\/li>\n<li>Search for \"Product Advisor for Ecwid\" keywords<\/li>\n<li>Install the suggested module<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Product Advisor for Ecwid's widgets<\/dt>\n<dd><p>Available widgets:\n- Ecwid Random Products\n- Ecwid Bestsellers\n- Ecwid On Sale Products\n- Ecwid Latest Products<\/p>\n\n<p>In order to use Product Advisor for Ecwid's widgets, you need to:<\/p>\n\n<ol>\n<li><p>Go to \"Appearance &gt; Widgets\" area in your Wordpress.<\/p><\/li>\n<li><p>Select any Product Advisor for Ecwid's widget and drag it to desired Sidebar\nor Area.<\/p><\/li>\n<li><p>After your drop the selected Product Advisor for Ecwid's widget you will be\nable to define its settings.<\/p><\/li>\n<\/ol>\n\n<p>3.1. \"Title\" field defines the title of widget.<\/p>\n\n<p>3.2. \"Number of products to display\" field defines how many products will be\ndisplayed in this widget.<\/p>\n\n<p>3.3. \"Display product title?\", \"Display product price?\" and \"Display product\nSKU?\" check-boxes define whether or not to display product name, price and SKU\ncorrespondingly.<\/p>\n\n<p>3.4. \"Category ID to select products from\" defines any category ID from which\nproducts will be displayed.<\/p><\/dd>\n<dt>Shortcode<\/dt>\n<dd><p>Shortcode in Wordpress is a sort of macros that allows to use different features\nwithin the body of Wordpress entries such as Pages, Posts etc.<\/p>\n\n<p>There are followig shortcodes available for Product Advisor for Ecwid plugin:\n- [ecwid_random_products]\n- [ecwid_bestsellers]\n- [ecwid_on_sale_products]\n- [ecwid_latest_products]<\/p>\n\n<p>1) [ecwid_random_products]<\/p>\n\n<p>Description:\nDisplay random products from Ecwid store.<\/p>\n\n<p>Parameters:\nnumber - how many items will be shown, ex. count=3\nshow_price - whether or not to show the price, ex. show_price=true\nshow_sku - whether or not to show the price, ex. show_sku=true\nshow_title - whether or not to show the product name, ex. show_title=true\nproduct_width - defines width of one product in px, ex. product_width=100\nper_row - how many products need to be shown in a row, ex. per_row=3.\nRule per_row=1 defines to show products in column.\ncategory - defines ID of category to select products from, ex. category=100.\nWorks for paid accounts only.<\/p>\n\n<p>Example:\n[ecwid_random_products number=6 per_row=3 show_price=true category=2000]\nThis shortcode will display 6 random products from category with ID 2000 in 2\nrows (3 products in a row). It will show price for these products.<\/p>\n\n<p>2) [ecwid_bestsellers]<\/p>\n\n<p>Description:\nDisplay Ecwid store's bestsellers. It works for paid Ecwid accounts only. It\nrequires you to specify the Order API Secret Key in settings of Ecwid Product\nAdvisor plugin.<\/p>\n\n<p>Parameters:\nnumber - how many items will be shown, ex. count=3\nshow_price - whether or not to show the price, ex. show_price=true\nshow_sku - whether or not to show the price, ex. show_sku=true\nshow_title - whether or not to show the product name, ex. show_title=true\nproduct_width - defines width of one product in px, ex. product_width=100\nper_row - how many products need to be shown in a row, ex. per_row=3.\nRule per_row=1 defines to show products in column.\nfrom_date - by default plugin uses all orders to build a bestsellers list (if\nthis option is not specified). If for that purpose you want to use orders placed\nafter certain date, then specify this parameter. Ex. from_date=2012-03-20 - to\nuse orders after 20th March of 2012.<\/p>\n\n<p>3) [ecwid_latest_products]<\/p>\n\n<p>Description:\nDisplay Ecwid store's latest products - products that were added to your catalog\nrecently. It works for paid Ecwid accounts only.<\/p>\n\n<p>Parameters:\nnumber - how many items will be shown, ex. count=3\nshow_price - whether or not to show the price, ex. show_price=true\nshow_sku - whether or not to show the price, ex. show_sku=true\nshow_title - whether or not to show the product name, ex. show_title=true\nproduct_width - defines width of one product in px, ex. product_width=100\nper_row - how many products need to be shown in a row, ex. per_row=3.\nRule per_row=1 defines to show products in column.<\/p>\n\n<p>4) [ecwid_on_sale_products]<\/p>\n\n<p>Description:\nDisplay Ecwid store's on sale (discounted) products. It works for paid Ecwid\naccounts only.<\/p>\n\n<p>Parameters:\ndiscount_type - required - possible values flat or percent - defines what type\nof discount will be used to filter your on sale products.\nEx. discount_type=percent\ndiscount_value - required - defines the value of discount. If a product has\ndiscount greater than specified value, then this product will be in a list.\nEx. discount_value=10\nnumber - how many items will be shown, ex. count=3\nshow_price - whether or not to show the price, ex. show_price=true\nshow_sku - whether or not to show the price, ex. show_sku=true\nshow_title - whether or not to show the product name, ex. show_title=true\nproduct_width - defines width of one product in px, ex. product_width=100\nper_row - how many products need to be shown in a row, ex. per_row=3.\nRule per_row=1 defines to show products in column.<\/p>\n\n<p>Examples:\n[ecwid_on_sale_products number=5 discount_type=flat discount_value=10]\nThis shortcode will display 5 products with discount more than $10 (considering\nyour currency is $)<\/p>\n\n<p>[ecwid_on_sale_products number=6 discount_type=percent discount_value=50]\nThis shortcode will display 6 products with discount more than 50%.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.8 beta9<\/h4>\n\n<ul>\n<li>[!] Product URL was generated incorrectly. Fixed.<\/li>\n<\/ul>\n\n<h4>0.8 beta8<\/h4>\n\n<ul>\n<li>[*] Plugin renamed to \"Product Advisor for Ecwid\".<\/li>\n<li>[!] Save % was incorrectly calculated. Fixed.<\/li>\n<li>[!] Thumbnail images did not use required \"alt\" attribute. Fixed.<\/li>\n<li>[!] Parameter 'from_date' was processed incorrectly for 'ecwid_bestsellers' short code. Fixed.<\/li>\n<li>[!] Parameter 'from_date' was processed incorrectly for 'Ecwid Bestsellers' widget. Fixed. <\/li>\n<\/ul>\n\n<h4>0.8 beta7<\/h4>\n\n<ul>\n<li>[!] PHP fatal error: Call to undefined function get_ecwid_protocol() in\n\/wp-content\/plugins\/ecwid-useful-tools\/classes\/Product.php on line 23. Fixed.<\/li>\n<\/ul>\n\n<h4>0.8 beta6<\/h4>\n\n<ul>\n<li>[!] PHP fatal error: Call to undefined method EcwidRandomProducts_Config::get_currency_prefix()\nin \/wp-content\/plugins\/ecwid-useful-tools\/functions.php on line 211. Fixed.<\/li>\n<\/ul>\n\n<h4>0.8 beta5<\/h4>\n\n<ul>\n<li>[!] PHP fatal error: Call to undefined function get_ecwid_store_id() in\nwp-content\/plugins\/ecwid-useful-tools\/functions.php on line 74. Fixed.<\/li>\n<li>[!] Minor mistype on Ecwid Product Advisor Settings page. Fixed.<\/li>\n<\/ul>\n\n<h4>0.8 beta4<\/h4>\n\n<ul>\n<li>[!] PHP fatal error: Declaration of EcwidRandomProducts_Bestsellers:\n:__construct() must be compatible with that of EcwidRandomProducts_IProducts:\n:__construct() in wp-content\/plugins\/ecwid-useful-tools\/classes\/Bestsellers.php\non line 3. Fixed.<\/li>\n<li>[!] Plugin settings did not save, \"All Settings\" page showed when clicking\n\"Save Changes\" button. Fixed.<\/li>\n<\/ul>\n\n<h4>0.8 beta3<\/h4>\n\n<ul>\n<li>[!] Plugin renamed from Ecwid: Random products to Ecwid Product Advisor<\/li>\n<li>[+] New features added: Bestsellers, On Sale &amp; Latest Products<\/li>\n<\/ul>\n\n<h4>0.7.4<\/h4>\n\n<ul>\n<li>[!] Appearance bug related to <code>mfunc<\/code> tags has been fixed.<\/li>\n<\/ul>\n\n<h4>0.7.3<\/h4>\n\n<ul>\n<li>[+] Now plugin works with cache plugins like WP Super Cache that supports\n mfunc tags. Make sure that the cache plugin supports 'late init' and\nenable this option.<\/li>\n<li>[+] CSS classes for price and title spans were added back.<\/li>\n<li>[!] Fixed bug that WP went down if \/cache folder could not be created.<\/li>\n<li>[!] Fixed bug that product links were incorrect sometimes.<\/li>\n<\/ul>\n\n<h4>0.7.2<\/h4>\n\n<ul>\n<li>[!] Many bugs related to free Ecwid accounts were fixed.<\/li>\n<li>[!] However, pulling products from certain category works for paid Ecwid\naccounts only.<\/li>\n<li>[!] Widget name was changed. All widgets must be reconfigured after this\nupdate. Shortcodes will keep working.<\/li>\n<\/ul>\n\n<h4>0.7.1<\/h4>\n\n<ul>\n<li>[!] Activation bug was hot-fixed.<\/li>\n<\/ul>\n\n<h4>0.7<\/h4>\n\n<ul>\n<li>[+] Added cache.<\/li>\n<li>[+] Added possibility to show products from certain category only. Works\nonly for paid Ecwid Accounts.<\/li>\n<\/ul>\n\n<h4>0.6<\/h4>\n\n<ul>\n<li>[+] Huge refactoring was done.<\/li>\n<li>[+] Wordpress version requirement was changed. Now it requires at least 3.2.\nWe did really need to switch to PHP 5.x.<\/li>\n<li>[!] Fixes to correlation between core plugin and Random Products were added.<\/li>\n<li>[!] Plugin now shows tips if Ecwid's page does not exist and it causes widget\nto fail.<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>[!] Widget's bug is hot-fixed.<\/li>\n<\/ul>\n\n<h4>0.5<\/h4>\n\n<ul>\n<li>[+] Added deinstallation hook, so settings will be erased after\nuninstalling.<\/li>\n<li>[+] Added correlations between this plugin and Ecwid Shopping cart.\nhttp:\/\/wordpress.org\/extend\/plugins\/ecwid-shopping-cart\/ to settings page.<\/li>\n<li>[!] Bug that currency prefix could not be updated has been fixed.<\/li>\n<li>[!] Bugs regarding blank spaces in widget area are fixed.<\/li>\n<\/ul>\n\n<h4>0.4<\/h4>\n\n<ul>\n<li>[+] Added possibility to display products in row using shortcode. Check\nfeatures.txt file for instruction on how to do that.<\/li>\n<li>[!] Bug with incorrect price display has been fixed.<\/li>\n<li>[!] Bug with incorrect bradcrumbs has been fixed.<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>[+] Settings page was added. Now it is possible to define currency settings\nthere.<\/li>\n<li>[!] Module has been renamed from <code>Ecwid: useful tools<\/code> to <code>Ecwid: Random\nProducts<\/code>.<\/li>\n<li>[!] Bug with Inline SEO Catalog has been fixed.<\/li>\n<li>[!] Small changes in widget settings.<\/li>\n<li>[!] Small refactoring of the whole module's code.<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>[+] Now it is possible to show price and\/or title for random products.<\/li>\n<li>[!] Some typos were fixed.<\/li>\n<li>[!] Problem with HTTPS was fixed.<\/li>\n<\/ul>\n\n<h4>0.1<\/h4>\n\n<ul>\n<li>[+] Initial version.<\/li>\n<\/ul>","raw_excerpt":"This module allows to show Random Products, Bestsellers, On Sale &amp; Latest Products from Ecwid store.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/14522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=14522"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fkie"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=14522"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=14522"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=14522"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=14522"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=14522"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=14522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}