OutOfMemoryError while decoding and encoding Base64 String into Bitmap

I'm trying to decode and encode a Bitmap image. On some devices it runs perfectly while on others it's not. I'm uploading Base64 String to the server and getting Base64 String from the server....

Woocommerce - external/affiliate product image to external link (buy URL)

(Warning: I'm not a programmer) Straight to the point. I have a product catalogue http://adidassuperstar.cz, and I want images (thumbnails) point to the affiliate link - the same link as the link...

Customize content in WooCommerce admin quick order preview

I am new to WordPress and I am using WooCommerce plugin in my project where I need to modify some of template files and some of core files of WooCommerce. I have created child theme and created...

woocommerce show/get product thumbnails

I am trying to implement wooCommerce in a custom theme I am building based on bootstrap framework (because I'm picky about how things look) So what I am trying to do is relocate wooCommerce...

Override woocommerce class files

I am looking to make some modifications to a function in WooCommerce, on a file called class-wc-frontend-scripts.php in woocommerce/includes/ The function I'm looking to modify is: private static...

woocommerce_product_thumbnails hook now depreciated? What would be a work around?

I am trying to add a video underneath the gallery of a single product page (woocommerce). When I add the hook "woocommerce_product_thumbnails" nothing happens. I noticed that on the visual guide...

Custom WooCommerce shortcode to display product image gallery

I have been tasked with duplicating a WooCommerce product gallery in an internal page (not a product page). As such, I decided to create a Child theme and write a new shortcode into my...

where do i put woocommerce image gallery enable code

Woocommerce took out the option for enabling a lightbox feature for your image gallery earlier this year. They have in their documentation to add code if you want to enable the gallery features...

Woocommerce core extending if statement

I added an if statement to the class_wc_frontend_scripts.php, which is a core file of the woocommerce plugin and therefore should not be changed itself. So I need to move the whole thing to the...

Wordpress JQuery – Save Checkbox Status

im trying to use this code in Wordpress: http://jsfiddle.net/R73vy/ It should save the status of clicked checkbox-fields in a cookie. You can see my try (which doesn't work)...

Remove action fails to remove default WooCommerce hooked function

I am trying to move the product tabs from woocommerce_after_single_product_summary to woocommerce_before_single_product_summary. Essentially, I want to replace the image of the product on the...

How do I remove my item from the cart in WooCommerce?

I'm generating my cart as such: if( !is_wp_error( $this->getCartContentsCount() ) ) { $cart_items = WC()->cart->get_cart(); foreach( $cart_items as $item ) { ?> <div class="left...

Can't remove WooCommerce's image zoom

I am trying to remove the image zoom from my custom themed website which uses WooCommerce. Here is what I've tried adding in my functions.php file: add_action( 'after_setup_theme',...

ParseError thrown on Wordpress site

Using the css/html built-in editor in Wordpress I have added some code the functions.php file but something wrong happened and the following error shows up every time I open the website: ...

Add title underneath WooCommerce product gallery images

I want to get the 'title' of each image to display underneath each image in the Woocommerce product gallery. Not the main image, but the smaller clickable thumbnails. All of my images currently...

WooCommerce Single product image hover Zoom blinking

I install the WooCommerce additional variation Image on my website and I lose hove zooming however I found one solution for that and added below code in function.php add_action(...

Importing large amount of Products to Woocomerce via XML. What's the best method?

I want to import in Woocommerce a large XML file with multiple images associated to it. I have 3 choices: Download it via WP all import plugin. I tried and it crashs and takes forever despite...

Facebook Pixel not working on iOS mobile (Wordpress/Woocommerce)

I am using Wordpress (v 5.3) with WooCommerce (v 3.8.1). My facebook pixel registers events (ViewContent/InitiateCheckout/AddToCart/Purchase/etc.) on desktop, but doesn't register events on mobile...

Guest checkout creates account even when not requested

When a guest user checks out, and he doesn’t choose to create an account, the account is created all the same. Besides this, when the user tries to “register” his account with the email he...

Wordpress does add unwanted html tags to my code

I cant understand why wp adds some unwanted </p> tags to my lovely html. Do i miss something? Problem: It makes these empty </p> thus create a 3rem border on the bottom, of my bootstrap card,...

How to stop embed video in Model Popup in Javascript (WooCommerce)?

UPDATED I have used javascript to create a popup and it's working fine. The issue is that i am using iframe embed video code (Facebook) in the model. the model is working fine and on pressing...

WooCommerce: Change size of gallery thumbnail

I want to change the thumbnail size of the gallery thumbnail to max. 60x60px. Without cropping them. I found the following hook in the WooCommerce docs: add_filter(...

Woocommerce Product Gallery Slider

On single woocommerce product pages I am trying to add the product gallery slider navigation and also correct the thumbnails to display correctly. I have added the theme support for the...

Prevent clickable image in product page, disable product-image link

With Woocommerce and my Storefront child theme, I am trying to prevent the fact that when clicking on a single-product image, it opens a new page with the full size image. I want the image to be...

changing the style of woocommerce product gallery

I try to change my theme style for sliders not using plugins (since the structure of the single product page broke). I use the following lines for woocommerce style, but the zoom option disabled...

WooCommerce: how to disable image zoom?

In WooCommerce we want to disable the product image zoom on hover. I've seen multiple options to do it in the child theme, functions.php. But they all are not working. The child theme function.php...

Product Gallery And lightbox not working in woocommerce single page

I am using custom theme and connected with Woocommerce. In single page i wish to have a woocommerce gallery with lightbox. But unfortunately my theme not support it. When i change the theme to...

Please assist me in resolving an Undefined offset: 0 in /public_html/wp-content/themes/modus-child/functions.php on line 51

I have inherited a problematic website after communication broke-down with their original web developer. I have been working through and resolving as many errors as possible. PHP Notice: ...

Warning: Trying to access array offset on value of type bool in /mytheme/functions.php on line 43

Warning: Trying to access array offset on value of type bool in /mytheme/functions.php on line 43 // Add woocommerce support $start_extended_woo = get_option( 'swp_woo' ); if(...

Change menu titles from h2 to h3 (woocommerce / wordpress)

I just launched my store on wordpress and I ran into a problem: When I am on the home page of the site, all my product titles are in H2 and should be in h3 (SEO reasons), my recommendation...