Version Description
- Fix for the legacy search shortcode ([ecwid_searchbox]), which was broken in the recent 4.7.5 release.
Download this release
Release Info
Developer | Ecwid |
Plugin | Ecwid Ecommerce Shopping Cart |
Version | 4.7.6 |
Comparing to | |
See all releases |
Code changes from version 4.7.5 to 4.7.6
- ecwid-shopping-cart.php +1 -24
- includes/shortcodes.php +10 -1
- readme.txt +4 -1
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: 4.7.
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
@@ -1110,29 +1110,6 @@ function ecwid_get_search_js_code() {
|
|
1110 |
}
|
1111 |
}
|
1112 |
|
1113 |
-
function ecwid_searchbox_shortcode($attributes) {
|
1114 |
-
|
1115 |
-
$shortcode = new Ecwid_Shortcode_Search($attributes);
|
1116 |
-
|
1117 |
-
return $shortcode->render();
|
1118 |
-
}
|
1119 |
-
|
1120 |
-
function ecwid_categories_shortcode($attributes) {
|
1121 |
-
|
1122 |
-
|
1123 |
-
$shortcode = new Ecwid_Shortcode_Categories($attributes);
|
1124 |
-
|
1125 |
-
return $shortcode->render();
|
1126 |
-
}
|
1127 |
-
|
1128 |
-
|
1129 |
-
function ecwid_productbrowser_shortcode($shortcode_params) {
|
1130 |
-
|
1131 |
-
$shortcode = new Ecwid_Shortcode_ProductBrowser($shortcode_params);
|
1132 |
-
|
1133 |
-
return $shortcode->render();
|
1134 |
-
}
|
1135 |
-
|
1136 |
function _ecwid_get_single_product_widget_parts_v1($attributes) {
|
1137 |
return array(
|
1138 |
'display_items' => array(
|
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: 4.7.6
|
9 |
Author URI: http://www.ecwid.com?source=wporg
|
10 |
*/
|
11 |
|
1110 |
}
|
1111 |
}
|
1112 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1113 |
function _ecwid_get_single_product_widget_parts_v1($attributes) {
|
1114 |
return array(
|
1115 |
'display_items' => array(
|
includes/shortcodes.php
CHANGED
@@ -11,6 +11,7 @@ add_shortcode('ecwid_minicart', 'ecwid_render_shortcode');
|
|
11 |
add_shortcode('ecwid_search', 'ecwid_render_shortcode');
|
12 |
add_shortcode('ecwid_categories', 'ecwid_render_shortcode');
|
13 |
add_shortcode('ecwid_product', 'ecwid_render_shortcode');
|
|
|
14 |
|
15 |
function ecwid_render_shortcode($params, $content = '', $name) {
|
16 |
$names = array('productbrowser', 'minicart', 'search', 'categories', 'product');
|
@@ -26,6 +27,14 @@ function ecwid_render_shortcode($params, $content = '', $name) {
|
|
26 |
|
27 |
$shortcode = new $classname($params);
|
28 |
|
29 |
-
return $shortcode->render();
|
30 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
11 |
add_shortcode('ecwid_search', 'ecwid_render_shortcode');
|
12 |
add_shortcode('ecwid_categories', 'ecwid_render_shortcode');
|
13 |
add_shortcode('ecwid_product', 'ecwid_render_shortcode');
|
14 |
+
add_shortcode('ecwid_searchbox', 'ecwid_searchbox_shortcode');
|
15 |
|
16 |
function ecwid_render_shortcode($params, $content = '', $name) {
|
17 |
$names = array('productbrowser', 'minicart', 'search', 'categories', 'product');
|
27 |
|
28 |
$shortcode = new $classname($params);
|
29 |
|
30 |
+
return $shortcode->render( array( 'legacy' => true ) );
|
31 |
}
|
32 |
+
}
|
33 |
+
|
34 |
+
|
35 |
+
function ecwid_searchbox_shortcode($params, $content = '', $name) {
|
36 |
+
|
37 |
+
$shortcode = new Ecwid_Shortcode_Search($params);
|
38 |
+
|
39 |
+
return $shortcode->render( array( 'legacy' => true ) );
|
40 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: Ecwid
|
|
3 |
Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.7
|
6 |
-
Stable tag: 4.7.
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
@@ -149,6 +149,9 @@ You can use Ecwid’s built-in import tools to copy your store products from any
|
|
149 |
* [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
|
150 |
|
151 |
== Changelog ==
|
|
|
|
|
|
|
152 |
= 4.7.5 =
|
153 |
- **A few enhancements for the Wordpress brand new "Twenty Seventeen" theme.** Ecwid store page in that theme will look better with this update – we made the page layout a bit wider to make sure it's convenient for your buyers to navigate the catalog.
|
154 |
- **Another improvement for the new Ecwid single product widget.** Now it's possible to use the "center_align=1" parameter in the shortcode to make the widget center aligned on the page. You may want to use that if you place one product widget per page – in this case, it will look better when center-aligned. An example shortcode: [ecwid_product id="12345" version=2 center_align=1]. Do not forget to replace 12345 in this example with the actual product ID.
|
3 |
Tags: ecommerce, downloadable products, Facebook ecommerce, online store, paypal, product catalog, shop, shopping cart, store
|
4 |
Requires at least: 3.5
|
5 |
Tested up to: 4.7
|
6 |
+
Stable tag: 4.7.6
|
7 |
|
8 |
Powerful, easy to use ecommerce shopping cart. Bank level PCI DSS Level 1 security. iPhone & Android apps. Superb support. Free plan available.
|
9 |
|
149 |
* [Ecwid eCommerce Forums](https://www.ecwid.com/forums/forumdisplay.php?f=19)
|
150 |
|
151 |
== Changelog ==
|
152 |
+
= 4.7.6 =
|
153 |
+
- Fix for the legacy search shortcode ([ecwid_searchbox]), which was broken in the recent 4.7.5 release.
|
154 |
+
|
155 |
= 4.7.5 =
|
156 |
- **A few enhancements for the Wordpress brand new "Twenty Seventeen" theme.** Ecwid store page in that theme will look better with this update – we made the page layout a bit wider to make sure it's convenient for your buyers to navigate the catalog.
|
157 |
- **Another improvement for the new Ecwid single product widget.** Now it's possible to use the "center_align=1" parameter in the shortcode to make the widget center aligned on the page. You may want to use that if you place one product widget per page – in this case, it will look better when center-aligned. An example shortcode: [ecwid_product id="12345" version=2 center_align=1]. Do not forget to replace 12345 in this example with the actual product ID.
|