by admin | Aug 31, 2023 | Wordpress
If the hosting server has invalid or expired SSL and SSL is set to flexible/full in cloudflare, it is going to cause a redirect loop. The fix is to add below code in wp-config.php file. $_SERVER[‘HTTPS’] = ‘on’;
by admin | Jun 20, 2023 | Wordpress
add_action(‘woocommerce_checkout_update_order_review’, ‘gabrics_update_shipping_plans’, 10, 1); function gabrics_update_shipping_plans( $post_data ) { $packages = WC()->cart->get_shipping_packages(); foreach ($packages as $package_key =>...
by admin | Dec 12, 2021 | Wordpress
If you have multiple attributes in a woocommerce variable product then you probably have noticed that by default it will not show variation product image unless you select all the attributes. This is some time not what you want specially if the first attribute is...
by admin | Dec 12, 2021 | Wordpress
If you ever want to show products which a customer ordered right on “Orders” page within WordPress/Woocommerce dashboard then you are at right place. Here is a little snippet which you can add in functions.php file of your theme or your custom plugin. This...
by admin | Aug 27, 2020 | Wordpress
By default woocommerce shortcodes doesn’t have the option to hide out of stock products. You can hide out of stocks products globally from Woocommerce settings but there is no option to hide/show it using product shortcodes for a single page etc. Below is a...
by admin | Mar 24, 2020 | Clickfunnels
If you have 3 images then keep one images visible and hide other two in clickfunnels. Then find the ids of images and also of input elements for dynamic selection of images. Use the below javascript code to in Tracking code footer section. Ofcourse add the script...
by admin | Mar 22, 2020 | Virtualmin
With virtualmin and postfix when using multiple domains, the imap etc for mail clients doesn’t work properly because postfix doesn’t support sni… It only works for the domain for which SSL is copied over to the postifx/devcot. A To fix create a...
by admin | Feb 20, 2020 | Wordpress
Use below code in functions.php or in your custom plugin add_filter( 'woocommerce_get_image_size_thumbnail', 'ci_theme_override_woocommerce_image_size_thumbnail' ); function ci_theme_override_woocommerce_image_size_thumbnail( $size ) { // Catalog images: specific size...
by admin | Feb 19, 2020 | Wordpress
Just a random list Simple Image Sizes A pretty useful plugin to generate custom image sizes or to change theme image sizes like removing crop etc from woocommerce images.
by admin | Feb 19, 2020 | Wordpress
Use the code below. Will need to change tag/selector according to theme (function($){ if (window.innerWidth > 400) { equalheight = function(container){ var currentTallest = 0, currentRowStart = 0, rowDivs = new Array(), $el, topPosition = 0;...
Recent Comments