Parse error: syntax error, unexpected end of file in___

My site's theme has been working fine for a few days when suddendly without any coding changes I now am getting this error: Parse error: syntax error, unexpected end of file in...

can't install woocommerce plugin on LOCALHOST

can someone who has experience with wordpress help me?? I have been trying to install WooCommerce - excelling eCommerce plugin on my wordpress theme, but since I'm working on localhost I think...

On woocommerce how do I remove this cropping to product catergory thumbnails?

I've searched and tried fixing this myself for several hours, however, I cannot find a proper solution. The images I upload to Woocommerce's product category are getting cropped to a 1:1 aspect...

$_FILES not working with ajax submit in woocommerce checkout

I am try to upload file on woocommerce checkout page but I am not able to upload file. I have also try to get value using print_r($_FILES) in create_order function in class-wc-checkout.php file...

WooCommerce/WordPress Illegal String Offset

I have been scratching my head on this one for a day now. Various searching through Google, WordPress, and StackOverflow have given me leads, but as I am not anything more than a beginner PHP guy...

Wordpress images does not exist in upload folder but is showing in media library

I have found a very strange problem on my wordpress/woocommerce site. I made a copy with the plugin Duplicator, to make some changes in a localhost environment. My uploads folder is too big, so I...

Update stock quantity in Wordpress

I'm using WooCommerce for a website and need to update stock quantity for each product. I have a plugin but it's a very tedious task and takes a lot of server resources and a couple hours to...

Woocommerce Wordpress Adding Images to an Order in Cart

Here's the issue: I am trying to add multiple customer uploaded images to a woocommerce product order. This is what my current function looks like to generate the fields before the add cart button...

Add downloads in Woocommerce downloadable product programmatically

I am creating a Woocommerce site where I wanna give vendors to upload products from their front end. But I stuck on a point where I am trying to add woocommerce downloadable products. Here is my...

WordPress REST API - How to Authenticate without a plugin

I've used the WooCommerce REST API for a number of years and I now need to try and upload some media files to WordPress so we can reference these when adding Product Images to existing Products,...

Import attributes using CSV with woocommerce

I am importing bulk products via Woocommerce using a .csv file. Everything works as it should apart from the attribute I am trying to upload. I am uploading the brand name as an attribute. I...

How to improve Woocommerce WP_List_Table::display performance from 5-15secs?

I have a WordPress WooCommerce site with 3.500 products and total 100 custom attributes (usually 4-7 per product) (front page needs image optimization) (4MB total size). Servers frequently lags...

Woocommerce automatic product update via XML

I am a front end developer who builds wordpress themes. I am looking to build an online store within wordpress/woocommerce which contains products from a 3rd party company. However their pricing...

Page editing redirects to Posts page (edit.php)

Just today, when I went on to edit one of the pages on my Wordpress website, and it redirected me to the Posts page (edit.php) when I pressed Update or Preview Changes and did not save my changes....

Restrict specific file types for Woocommerce uploads only (Wordpress)

I am using Wordpress with the Woocommerce plugin. In Woocommerce it is possible to create virtual/digital downloadable products. I want to restrict specific file types for the Woocommerce uploads...

Wordpress Error: "an error occurred while processing this directive". Debug.log output available

Hope someone might be able to shed some light on this one. The error is very generic and seems quite unpredictable. Happens on some page loads, not others, and when it does, if you refresh a few...

wamp server wordpress media library not showing images

Im running wordpress woocommerce website on localhost via Wamp Server. The media library once worked fine but right now, every time I upload a new picture, the thumbnail doesn't show but when I...

Woocommerce product gallery images are showing as full size images instead of thumbnail

The current Woocommerce setup of this website is being provided with a main product image and several gallery images as normal. The main product image is being used correctly so that it is shown...

Cannot access media files from woocommerce folder

I have developed a addon of woocommerce to upload video as a downloadable product and the customer is able to view that video in a popup rather downloading it from My Account > Downloads area. I...

How to add upload profile picture field in woocommerce registration form

I am trying to add a new feature in my woocommerce registration form. I have already added some fields and all are working good. Now, i want add one more field to upload profile picture but failed...

How to persist file upload form data between submission events

I'm trying to retain uploaded file info while changing other form toggles/parameters and avoid having to re-upload the file each time. Is it possible to persist the file upload data? HTML for...

How to use SVG for logo in storefront theme

I want to use a SVG logo in my woocommerce storefront theme. I can't use the Customizer b/c it won't allow SVG uploads. Is there a way around that restriction? If not, how would I edit the...

Issue with wp-all-import images take toooo long

First of all, sorry for my english. We try to import a csv file with almost 1000 records using wp-all-import plugin. Every row has a post_name, post_content, post_date..., product_cat,...

Custom WC Ajax Action Not Working in WooCommerce

I am creating a new custom plugin in WooCommerce. I have to upload a file using ajax from front end so I added following code in my payment gateway class. I want to create a new ajax endpoint in...

Add a profile picture (file upload) on My account > edit account in WooCommerce

I want to add a upload profile image field and save it on My account > edit account without any plugin in woocommerce. I added the below code in functions.php to add the profile picture on the my...

Cut the text and add a read more button in woocommerce categories

I have very long category descriptions in my Woocommerce and I would like to truncate the text and add a Read More button. I tried to upload a plugin to add an editor in the category section to...

Importing Custom Taxonomy Through CSV into WooCommerce

I have created two custom taxonomies using the CPT UI plugin named Designers (rug_designers) & Product Lines (product_line). I am working on importing products via a CSV into WooCommerce using the...

Serve images from subdomain in Wordpress

to give you some context with where I'm at, I have set up a subdomain to serve the images for my site on www.images.mysite.com This "images" subdomain is intended to serve the images to primary...

How to disable tax being charged on shipping in WooCommerce?

I have configured my Woo-based shop to NOT charge any taxes on shipping: I do have a table for Zero Tax rate configured: however it still does during the checkout: as is apparent in the...

Add custom uploaded image file to WooCommerce product table and invoice PDF

Hello community, I want to show an image uploaded via custom-field on the product table and finally on the PDF invoice … I use this solution:...