trmkr
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce product update intervalThank you! Unfortunately, the category cache is not updated. My final code is:
add_action('woocommerce_update_product', 'lscwp_purge_product_update', 10, 2); function lscwp_purge_product_update($product_id, $product) { if (defined('LSCWP_V')){ do_action( 'litespeed_purge_post', $product_id ); } $lscwp_categories = wp_get_post_categories( $product_id , array( 'fields' => 'all' ) ); $lscwp_cats = array(); if( $lscwp_categories ){ foreach($lscwp_categories as $lscwp_c){ if (defined('LSCWP_V')) { do_action( 'litespeed_purge_url', get_category_link( $lscwp_c ->term_id ) ); } } } }
I couldn’t understand function of lscwp_cats variable above.
Forum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce product update intervalThank you! It works ??
There is a typo in the function name. Also, can I purge category pages of that product?
Regards
Forum: Plugins
In reply to: [LiteSpeed Cache] Woocommerce product update intervalHello,
The price and quantities are updated with REST API. Therefore, page cache is not updated during price revisions.
Regards
I exported all product data to Excel and used Clean function to find the products which have invalid characters. After editing the product descriptions, the error message disappeared.
Forum: Themes and Templates
In reply to: [Blocksy] Flexy slider implementationHi Eduard,
The slider is much better now ?? Thank you.
1) The slider plays when I hover over it. Is it possible to autoplay when loaded?
2) Can I add different URLs for each image?Best regards
add_shortcode('flexy_slider', function () { return blocksy_flexy([ 'images' => [651, 650, 649], 'images_ratio' => '2/1', 'autoplay' => '1', 'size' => 'full', 'has_pills' => false, 'href' => ['link1','link2','link3'] ]); });
- This reply was modified 2 years, 9 months ago by trmkr.
Forum: Themes and Templates
In reply to: [Blocksy] Flexy slider implementationHi Eduard,
Thank you ??
Regards
Forum: Themes and Templates
In reply to: [Blocksy] Flexy slider implementationHello Eduard,
Thank you for your reply!
Interestingly, I get “Updating failed. The response is not a valid JSON response.” error when I try to save the page with flexy_slider shortcode. Yesterday, there were no save issues.
Regards
Forum: Plugins
In reply to: [WC Fields Factory] Assign images to product fieldsThank you ??
Forum: Plugins
In reply to: [TI WooCommerce Wishlist] Product page wishlist positionThank you very much!
Regards
Forum: Plugins
In reply to: [WC Fields Factory] Assign images to product fieldsHi Saravana,
Yes, I mean radio buttons like image group. If it is possible, can you share development version with me please?
Thank you.
Thank you ??
Hello,
Thank you for your quick reply. Can I share my feed URL privately?
Regards
Forum: Plugins
In reply to: [LiteSpeed Cache] “recently viewed products” not workingHello,
After adding the above line at top of the .htaccess, cache is recreated every time I visit the product pages. Can you help please?
Thank you
RegardsFor example, homepage cache status:
<!-- Page generated by LiteSpeed Cache 4.4.3 on 2021-10-22 15:14:01 --> <!-- Page generated by LiteSpeed Cache 4.4.3 on 2021-10-22 15:14:41 --> <!-- Page generated by LiteSpeed Cache 4.4.3 on 2021-10-22 15:31:00 --> <!-- Page generated by LiteSpeed Cache 4.4.3 on 2021-10-22 16:09:21 -->
Forum: Plugins
In reply to: [Product Size Chart For WooCommerce] Assign chart to multiple productsThank you ??
Regards
Forum: Plugins
In reply to: [LiteSpeed Cache] “recently viewed products” not workingHi again,
This line solved the problem. Thank you very much!
RewriteRule .* - [E=Cache-Vary:woocommerce_recently_viewed]
Regards