Ecwid Ecommerce Shopping Cart - Version 2.4.1

Version Description

  • Added compatibility with the new versions of "Google XML Sitemaps" plugin (v4.0 and higher)
Download this release

Release Info

Developer Ecwid
Plugin Icon 128x128 Ecwid Ecommerce Shopping Cart
Version 2.4.1
Comparing to
See all releases

Code changes from version 2.4 to 2.4.1

Files changed (2) hide show
  1. ecwid-shopping-cart.php +5 -6
  2. readme.txt +74 -37
ecwid-shopping-cart.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.ecwid.com?source=wporg
5
  Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
6
  Text Domain: ecwid-shopping-cart
7
  Author: Ecwid Team
8
- Version: 2.4
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
@@ -23,6 +23,8 @@ if ( ! defined( 'ECWID_PLUGIN_URL' ) ) {
23
  define( 'ECWID_PLUGIN_URL', plugin_dir_url( realpath(__FILE__) ) );
24
  }
25
 
 
 
26
  if ( is_admin() ){
27
  add_action('admin_init', 'ecwid_settings_api_init');
28
  add_action('admin_notices', 'ecwid_show_admin_messages');
@@ -35,7 +37,6 @@ if ( is_admin() ){
35
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
36
  add_filter('plugin_action_links_ecwid-shopping-cart/ecwid-shopping-cart.php', 'ecwid_plugin_actions');
37
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
38
- add_action('sm_buildmap', 'ecwid_build_sitemap_pages');
39
  add_action('admin_head', 'ecwid_send_stats');
40
  } else {
41
  add_shortcode('ecwid_script', 'ecwid_script_shortcode');
@@ -240,8 +241,6 @@ function ecwid_build_sitemap_pages()
240
 
241
  function build_sitemap_callback($url, $priority, $frequency)
242
  {
243
- echo $url . '<br />';
244
-
245
  static $generatorObject = null;
246
  if (is_null($generatorObject)) {
247
  $generatorObject = &GoogleSitemapGenerator::GetInstance(); //Please note the "&" sign!
@@ -595,10 +594,10 @@ function ecwid_content_started($content)
595
 
596
  function ecwid_wrap_shortcode_content($content)
597
  {
598
- return "<!-- Ecwid shopping cart plugin v 2.4 -->"
599
  . ecwid_get_scriptjs_code()
600
  . "<div>$content</div>"
601
- . "<!-- END Ecwid Shopping Cart v 2.4 -->";
602
  }
603
 
604
  function ecwid_get_scriptjs_code($force_lang = null) {
5
  Description: Ecwid is a free full-featured shopping cart. It can be easily integrated with any Wordpress blog and takes less than 5 minutes to set up.
6
  Text Domain: ecwid-shopping-cart
7
  Author: Ecwid Team
8
+ Version: 2.4.1
9
  Author URI: http://www.ecwid.com?source=wporg
10
  */
11
 
23
  define( 'ECWID_PLUGIN_URL', plugin_dir_url( realpath(__FILE__) ) );
24
  }
25
 
26
+ add_action('sm_buildmap', 'ecwid_build_sitemap_pages');
27
+
28
  if ( is_admin() ){
29
  add_action('admin_init', 'ecwid_settings_api_init');
30
  add_action('admin_notices', 'ecwid_show_admin_messages');
37
  add_filter('plugins_loaded', 'ecwid_load_textdomain');
38
  add_filter('plugin_action_links_ecwid-shopping-cart/ecwid-shopping-cart.php', 'ecwid_plugin_actions');
39
  add_action('admin_head', 'ecwid_ie8_fonts_inclusion');
 
40
  add_action('admin_head', 'ecwid_send_stats');
41
  } else {
42
  add_shortcode('ecwid_script', 'ecwid_script_shortcode');
241
 
242
  function build_sitemap_callback($url, $priority, $frequency)
243
  {
 
 
244
  static $generatorObject = null;
245
  if (is_null($generatorObject)) {
246
  $generatorObject = &GoogleSitemapGenerator::GetInstance(); //Please note the "&" sign!
594
 
595
  function ecwid_wrap_shortcode_content($content)
596
  {
597
+ return "<!-- Ecwid shopping cart plugin v 2.4.1 -->"
598
  . ecwid_get_scriptjs_code()
599
  . "<div>$content</div>"
600
+ . "<!-- END Ecwid Shopping Cart v 2.4.1 -->";
601
  }
602
 
603
  function ecwid_get_scriptjs_code($force_lang = null) {
readme.txt CHANGED
@@ -3,60 +3,93 @@ Contributors: ecwid
3
  Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
  Requires at least: 2.8
5
  Tested up to: 3.9
6
- Stable tag: 2.4
7
 
8
  Ecwid is a free full-featured shopping cart that can easily be added to any blog
9
  and takes less than 5 minutes to set up.
10
 
11
  == Description ==
12
- Ecwid is a full-featured shopping cart and an e-commerce solution that can easily be added to any blog or Facebook profile. It offers the performance and flexibility you need, with none of the hassles you don't.
13
- "Ecwid" stands for "ecommerce widgets".
14
 
15
- There are eight key advantages to Ecwid:
16
 
17
- - Free plan is always available.
18
- - It has AJAX everywhere and supports drag-and-drop.
19
- - It can be easily integrated to any existing site or Facebook profile in minutes.
20
- - It can be mirrored on many sites at the same time. Add your store to many sites, manage it from one place.
21
- - Integrates with social networks. Run your own store on Facebook, mySpace and many others, or let your customers share the links to your products and their purchases.
22
- - Simple to use and maintain. For both store owner and customer.
23
- - Lightning fast. New-gen technologies make Ecwid much faster than usual
24
- shopping carts regardless the hosting service you use.
25
- - Seamless upgrades. You just wake up one day and enjoy new features.
26
 
27
- Links
28
 
29
- - You can see the demo there: [www.ecwid.com/demo-frontend.html](http://www.ecwid.com/demo-frontend.html)
30
- - More features:
31
- [www.ecwid.com/key-features.html](http://www.ecwid.com/key-features.html)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
 
33
  == Installation ==
34
 
35
  = Automatic installation (the easiest way) =
36
 
37
- 1. Go to your WP admin panel Plugins → Add New
38
- 2. Under Search, type in 'Ecwid', click Search
39
- 3. In the search results find the 'Ecwid Shopping Cart' plugin and click 'Install now' to install it
40
- 4. When plugin is installed click 'Activate Plugin' link
41
- 5. Log in into Ecwid control panel at https://my.ecwid.com and copy your numeric Store ID. Go to 'Ecwid Store → General' page in WP admin panel and paste Store ID in the corresponding field.
42
-
43
- **IMPORTANT**: when the plugin is installed, you will need to activate it on the Plugins page (click 'Activate' link) and configure it on the 'Ecwid Store → General' page (at least, you will need to set your store ID there).
44
 
45
 
46
  = Alternative ways =
47
 
48
- **Uploading the plugin zip archive in your admin panel**
49
 
50
- 1. Download the Ecwid plugin from this page (click 'Download' button)
51
- 2. Go to WP admin panel Plugins → Add new
52
- 3. Click 'Upload' link and choose the saved zip file in the appeared dialog window.
53
- 4. Click 'Install'
54
 
55
- **Uploading plugin folder to the WP directory on your server**
56
 
57
- 1. Download the Ecwid plugin from this page (click 'Download' button)
58
- 2. Unpack the downloaded zip archive
59
- 3. Upload ecwid-shopping-cart directory from the archive to the /wp-content/plugins/ directory on your server
60
 
61
  Please refer to this article for the details and troubleshooting on plugin installation in Wordpress:
62
  http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
@@ -74,10 +107,14 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
74
 
75
  == Frequently Asked Questions ==
76
 
77
- - FAQ: [http://www.ecwid.com/faq.html](http://www.ecwid.com/faq.html)
78
- - Knowledge Base: [http://kb.ecwid.com](http://kb.ecwid.com)
 
79
 
80
  == Changelog ==
 
 
 
81
  = 2.4 =
82
  - **Ability to add a single product to a page or post on your site using new [ecwid\_product] shortcode.** In addition to embedding a whole product catalog on your Wordpress site, you can also feature a single product on a separate page or blog post of your site and allow your customers to purchase the product right from that page. To embed a product on a page or post, add [ecwid\_product id="12345"] shortcode to the page/post in your Wordpress backend. Do not forget to replace 12345 in this example with the actual product ID.
83
 
@@ -129,7 +166,7 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
129
 
130
  - **SEO improvements**
131
  - Auto generated meta description tags for the product and category pages. Now, Google should properly index product/category descriptions and display them in the search results.
132
- - &lt;title&gt; tags for categories. The SEO category pages in your store now include both title and description tags so they will appear in Google search results properly.
133
 
134
  - **Smooth HTTP/HTTPS switch**: Ecwid always transfers all sensitive data using secure HTTPS connection and a special 'HTTPS' option in the Ecwid plugin settings is not necessary anymore. Now, the plugin detects connection type and adjust Ecwid integration codes automatically. No manual adjustments are needed regardless of whether you run your site under HTTP or HTTPS.
135
 
@@ -143,7 +180,7 @@ http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
143
  - [+] Ability to display separate categories on separate pages with custom shortcodes. Now, the plugin allows setting different default categories for different store pages. So if you have multiple store pages and want to display specific categories on them, you can set up a default category for each of them in the [ecwid\_productbrowser] shortcode like this: [ecwid\_productbrowser default\_category\_id="12345"] . On the other hand, if you have one store page, you can set the default category on the plugin settings page as usual.
144
  - [+] A few more SEO improvements:
145
  - Product browser's default category ID setting is now taken into consideration by SEO part of the plugin. If you have multiple store pages displaying specific categories of your shop, search engines will index those pages starting from the proper category (not from the store's root)
146
- - &lt;meta fragment="!"&gt; tag is now displayed on every page where [ecwid\_productbrowser] tag is added so search engines will better index each store page
147
  - [+] We also released a lot of new Ecwid features. You can read about them there: http://www.ecwid.com/blog/new-releases/
148
 
149
  = 1.7 =
3
  Tags: ecwid, shopping cart, ecommerce, wordpress ecommerce, wp e-commerce, paypal, e-commerce, online store, store, shop, cart, online shop, shopping, digital goods, downloadable products, product catalog, ecomerce, products, facebook, f-commerce
4
  Requires at least: 2.8
5
  Tested up to: 3.9
6
+ Stable tag: 2.4.1
7
 
8
  Ecwid is a free full-featured shopping cart that can easily be added to any blog
9
  and takes less than 5 minutes to set up.
10
 
11
  == Description ==
12
+ **Wordpress.com officially recommends Ecwid as an e-commerce solution to millions of its users!**
 
13
 
14
+ [Ecwid](http://www.ecwid.com?wporg-plugin-site "Ecwid site") is a powerful and easy-to-use shopping cart solution that seamlessly integrates with your Wordpress website. Join over *450,000* sellers in *175* countries and sell globally with over *30* international payment options, real-time shipping integrations and support of *45* languages.
15
 
 
 
 
 
 
 
 
 
 
16
 
17
+ = Full-featured Shopping Cart =
18
 
19
+ Ecwid is a free shopping cart solution that is designed to fit any existing site. Simply set up this plugin and your products, categories and checkout pages will automatically embed on your Wordpress site and adjust themselves to the given page size and layout.
20
+
21
+
22
+ = Data Security and Seamless Upgrades =
23
+
24
+ With Ecwid, your store data is fully hosted on our secure servers. So, regardless of the hosting you use, you get free of cost:
25
+
26
+ * unlimited storage and regular backups
27
+ * seamless upgrades and security updates
28
+ * secure checkout via encrypted HTTPS connection
29
+
30
+ So, you don't need to worry about software updates, security patches and server maintenance - we do that for you. Your store gets all the new features and bug fixes automatically.
31
+
32
+
33
+ = Mobile Responsive Design =
34
+
35
+ Ecwid works fine on any Wordpress site, especially on those running mobile-optimized themes. Your store looks perfect on any smartphone and automatically adapts to your customer’s screen size: laptops, tablets, smart TVs or smart watches. Check out this [demo](http://www.ecwid.com/demo-frontend.html?wporg-plugin-site)
36
+
37
+
38
+ = Social Commerce =
39
+
40
+ Unlock power of social commerce with Ecwid -- add your existing store to Facebook in a few clicks and sell to millions of Facebook users. Ecwid will automatically synchronize your products, customers, orders and inventory between your Wordpress and Facebook store fronts. Ecwid is the **#1 e-commerce app on Facebook**. Join!
41
+
42
+
43
+ = Sell Everywhere =
44
+
45
+ With Ecwid, you can mirror your shop on many websites, blogs, social sites and marketplaces like *Google Shopping*, *Yahoo* and *Shopping.com* and sell simultaneously everywhere. Add your store to as many sites as you want, manage it from one place.
46
+
47
+
48
+ = Lighting Fast =
49
+
50
+ New-gen technologies make Ecwid much faster than usual shopping carts regardless the hosting service you use.
51
+
52
+
53
+ = Free =
54
+
55
+ Although Ecwid is packed with high-value features, [Free plan](http://www.ecwid.com/plans-and-pricing.html?wporg-plugin-site "Ecwid plans and pricing") is always available with no setup charges and no transaction fees. Get your store up and running without paying anything.
56
+
57
+
58
+ = See In Action =
59
+
60
+ * [Demo](http://www.ecwid.com/demo-frontend.html?source=wporg-plugin-site "Ecwid demo")
61
+ * [Backend](https://my.ecwid.com/?source=wporg-plugin-site "Ecwid Control Panel")
62
+
63
+
64
+ = Ecwid Site =
65
+
66
+ * [www.ecwid.com](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid site")
67
 
68
  == Installation ==
69
 
70
  = Automatic installation (the easiest way) =
71
 
72
+ 1. In your Wordpress admin backend, navigate to *Plugins → Add New*
73
+ 1. Under Search, type in `Ecwid` and click *Search*
74
+ 1. In the search results find the *Ecwid Shopping Cart* plugin and click *Install now* to install it
75
+ 1. When plugin is installed click *Activate Plugin* link
76
+ 1. Navigate to *Ecwid Store → General* page in your Wordpress admin backend and follow the instruction provided there
 
 
77
 
78
 
79
  = Alternative ways =
80
 
81
+ **Uploading the plugin zip archive in Wordpress admin backend**
82
 
83
+ 1. Download Ecwid plugin from this page (click *Download* button)
84
+ 1. In your Wordpress admin backend, navigate to *Plugins → Add new*
85
+ 1. Click *Upload* link and choose the saved zip file in the appeared dialog window.
86
+ 1. Click *Install*
87
 
88
+ **Uploading plugin folder to Wordpress directory on your server**
89
 
90
+ 1. Download Ecwid plugin from this page (click *Download* button)
91
+ 1. Unpack the downloaded zip archive
92
+ 1. Upload ecwid-shopping-cart directory from the archive to the `/wp-content/plugins/` directory on your server
93
 
94
  Please refer to this article for the details and troubleshooting on plugin installation in Wordpress:
95
  http://codex.wordpress.org/Managing_Plugins#Installing_Plugins
107
 
108
  == Frequently Asked Questions ==
109
 
110
+ * [FAQ](http://help.ecwid.com/customer/portal/articles/1085017-wordpress-downloadable- "Install Ecwid on Wordpress")
111
+ * [Help Center](http://help.ecwid.com/?source=wporg-plugin-site "Ecwid Help")
112
+ * [Ecwid site](http://www.ecwid.com/?source=wporg-plugin-site "Ecwid Site")
113
 
114
  == Changelog ==
115
+ = 2.4.1 =
116
+ - Added compatibility with the new versions of "Google XML Sitemaps" plugin (v4.0 and higher)
117
+
118
  = 2.4 =
119
  - **Ability to add a single product to a page or post on your site using new [ecwid\_product] shortcode.** In addition to embedding a whole product catalog on your Wordpress site, you can also feature a single product on a separate page or blog post of your site and allow your customers to purchase the product right from that page. To embed a product on a page or post, add [ecwid\_product id="12345"] shortcode to the page/post in your Wordpress backend. Do not forget to replace 12345 in this example with the actual product ID.
120
 
166
 
167
  - **SEO improvements**
168
  - Auto generated meta description tags for the product and category pages. Now, Google should properly index product/category descriptions and display them in the search results.
169
+ - <title> tags for categories. The SEO category pages in your store now include both title and description tags so they will appear in Google search results properly.
170
 
171
  - **Smooth HTTP/HTTPS switch**: Ecwid always transfers all sensitive data using secure HTTPS connection and a special 'HTTPS' option in the Ecwid plugin settings is not necessary anymore. Now, the plugin detects connection type and adjust Ecwid integration codes automatically. No manual adjustments are needed regardless of whether you run your site under HTTP or HTTPS.
172
 
180
  - [+] Ability to display separate categories on separate pages with custom shortcodes. Now, the plugin allows setting different default categories for different store pages. So if you have multiple store pages and want to display specific categories on them, you can set up a default category for each of them in the [ecwid\_productbrowser] shortcode like this: [ecwid\_productbrowser default\_category\_id="12345"] . On the other hand, if you have one store page, you can set the default category on the plugin settings page as usual.
181
  - [+] A few more SEO improvements:
182
  - Product browser's default category ID setting is now taken into consideration by SEO part of the plugin. If you have multiple store pages displaying specific categories of your shop, search engines will index those pages starting from the proper category (not from the store's root)
183
+ - <meta fragment="!"> tag is now displayed on every page where [ecwid\_productbrowser] tag is added so search engines will better index each store page
184
  - [+] We also released a lot of new Ecwid features. You can read about them there: http://www.ecwid.com/blog/new-releases/
185
 
186
  = 1.7 =