Old Version(Short Code)
[woocommerce_cart]
New version
<!-- wp:woocommerce/cart -->
<div class="wp-block-woocommerce-cart alignwide is-loading"><!-- wp:woocommerce/filled-cart-block -->
<div class="wp-block-woocommerce-filled-cart-block"><!-- wp:woocommerce/cart-items-block -->
<div class="wp-block-woocommerce-cart-items-block"><!-- wp:woocommerce/cart-line-items-block -->
<div class="wp-block-woocommerce-cart-line-items-block"></div>
<!-- /wp:woocommerce/cart-line-items-block -->
<!-- wp:woocommerce/cart-cross-sells-block -->
<div class="wp-block-woocommerce-cart-cross-sells-block"><!-- wp:heading {"fontSize":"large"} -->
<h2 class="wp-block-heading has-large-font-size">你可能對這些產品感興趣:</h2>
<!-- /wp:heading -->
<!-- wp:woocommerce/cart-cross-sells-products-block -->
<div class="wp-block-woocommerce-cart-cross-sells-products-block"></div>
<!-- /wp:woocommerce/cart-cross-sells-products-block --></div>
<!-- /wp:woocommerce/cart-cross-sells-block --></div>
<!-- /wp:woocommerce/cart-items-block -->
<!-- wp:woocommerce/cart-totals-block -->
<div class="wp-block-woocommerce-cart-totals-block"><!-- wp:woocommerce/cart-order-summary-block -->
<div class="wp-block-woocommerce-cart-order-summary-block"><!-- wp:woocommerce/cart-order-summary-heading-block -->
<div class="wp-block-woocommerce-cart-order-summary-heading-block"></div>
<!-- /wp:woocommerce/cart-order-summary-heading-block -->
<!-- wp:woocommerce/cart-order-summary-coupon-form-block -->
<div class="wp-block-woocommerce-cart-order-summary-coupon-form-block"></div>
<!-- /wp:woocommerce/cart-order-summary-coupon-form-block -->
<!-- wp:woocommerce/cart-order-summary-subtotal-block -->
<div class="wp-block-woocommerce-cart-order-summary-subtotal-block"></div>
<!-- /wp:woocommerce/cart-order-summary-subtotal-block -->
<!-- wp:woocommerce/cart-order-summary-fee-block -->
<div class="wp-block-woocommerce-cart-order-summary-fee-block"></div>
<!-- /wp:woocommerce/cart-order-summary-fee-block -->
<!-- wp:woocommerce/cart-order-summary-discount-block -->
<div class="wp-block-woocommerce-cart-order-summary-discount-block"></div>
<!-- /wp:woocommerce/cart-order-summary-discount-block -->
<!-- wp:woocommerce/cart-order-summary-shipping-block -->
<div class="wp-block-woocommerce-cart-order-summary-shipping-block"></div>
<!-- /wp:woocommerce/cart-order-summary-shipping-block -->
<!-- wp:woocommerce/cart-order-summary-taxes-block -->
<div class="wp-block-woocommerce-cart-order-summary-taxes-block"></div>
<!-- /wp:woocommerce/cart-order-summary-taxes-block --></div>
<!-- /wp:woocommerce/cart-order-summary-block -->
<!-- wp:woocommerce/cart-express-payment-block -->
<div class="wp-block-woocommerce-cart-express-payment-block"></div>
<!-- /wp:woocommerce/cart-express-payment-block -->
<!-- wp:woocommerce/proceed-to-checkout-block -->
<div class="wp-block-woocommerce-proceed-to-checkout-block"></div>
<!-- /wp:woocommerce/proceed-to-checkout-block -->
<!-- wp:woocommerce/cart-accepted-payment-methods-block -->
<div class="wp-block-woocommerce-cart-accepted-payment-methods-block"></div>
<!-- /wp:woocommerce/cart-accepted-payment-methods-block --></div>
<!-- /wp:woocommerce/cart-totals-block --></div>
<!-- /wp:woocommerce/filled-cart-block -->
<!-- wp:woocommerce/empty-cart-block -->
<div class="wp-block-woocommerce-empty-cart-block"><!-- wp:heading {"textAlign":"center","className":"with-empty-cart-icon wc-block-cart__empty-cart__title"} -->
<h2 class="wp-block-heading has-text-align-center with-empty-cart-icon wc-block-cart__empty-cart__title">你的購物車目前是空的!</h2>
<!-- /wp:heading -->
<!-- wp:separator {"className":"is-style-dots"} -->
<hr class="wp-block-separator has-alpha-channel-opacity is-style-dots"/>
<!-- /wp:separator -->
<!-- wp:heading {"textAlign":"center"} -->
<h2 class="wp-block-heading has-text-align-center">新品到貨</h2>
<!-- /wp:heading -->
<!-- wp:woocommerce/product-new {"columns":4,"rows":1} /--></div>
<!-- /wp:woocommerce/empty-cart-block --></div>
<!-- /wp:woocommerce/cart -->
The seonc question is it possible to optimize the plugin, because now it use the third party contenct and this is not good for performance like using select2 …
Thank you
]]>Before the Page loads, the the following error message appears from PHP:
Fatal error: Uncaught Error: Call to undefined method WP_Theme::get_block_patterns() in /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-includes/block-patterns.php:355 Stack trace: #0 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-includes/class-wp-hook.php(310): _register_theme_block_patterns(”) #1 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #2 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-settings.php(632): do_action(‘init’) #4 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-config.php(95): require_once(‘/is/htdocs/wp10…’) #5 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-load.php(50): require_once(‘/is/htdocs/wp10…’) #6 /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-blog-header.php(13): require_once(‘/is/htdocs/wp10…’) #7 /is/htdocs/wp10583832_XU8665GZEP/www/wp/index.php(17): require(‘/is/htdocs/wp10…’) #8 {main} thrown in /is/htdocs/wp10583832_XU8665GZEP/www/wp/wp-includes/block-patterns.php on line 355
What can I do to fix the error?
Thank You
]]>When will version 2.6.6 be released on www.ads-software.com?
Thanks.
]]>Now, you will be able to customize the Content-Security-Policy (CSP) Header rules to have more specific control over the resources allowed by browsers.
But don’t worry if you’re not an expert! I’ve got you covered too: the plugin will automatically set up a standard rule, making it easy and safe to access protection against cross-site scripting (XSS) attacks.
Are you experiencing problems with the plugin? Don’t worry, we are here to help you! If you encounter difficulties, we recommend following three simple steps for a quick fix.
First, try deactivating the plugin and reactivating it: this is often enough to resolve any temporary conflicts. If the problem persists, try reinstalling the most recent version of the plugin to ensure that all fixes are applied. Finally, don’t forget to clear your website’s cache to ensure that changes are displayed correctly.
By following these simple tips, you will be able to enjoy the full functionality of the plugin without a hitch!
Andrea Ferro
Check out all the new features of this version now and protect your website without stress!
]]>One of my clients are using the WooCommerce Country Based Payments plugin. The problem is that the plugin is running on version 1.4.2 and shows that the plugin hasn’t been updated since a year ago.
Could you kindly let me know if there has indeed been updates to the plugin or if it has been abandonded?
I am looking forward to your response.
Kind regards,
]]>Having an issue: in the backend everything is correct but it simply does not align centered in front-end. I did check all Elements above and below (also herarchically). Any idea what′s going on? Thanks
Clemens
]]>I had to roll back to an earlier version to stop the process. What can I do to complete the migration?
Also, one little bug I noticed in the other sites is that the At A Glace tab on the admin dashboard now shows zero sent emails instead of 100 or 200 on these sites.
]]>