Questions tagged [woocommerce-offtopic]

OFF TOPIC. PLEASE CLOSE THIS QUESTION. Questions *specific* for this e-commerce plugin have their own forum at https://wordpress.org/support/plugin/woocommerce. Click the "Learn More" link below for useful links such as Support and Developer Docs.

Filter by
Sorted by
Tagged with
0 votes
0 answers
197 views

WP_Query (or WC_Product_Query) out of memory

I'm building a plugin that's supposed to show the user a list of all products on the site. This testing website has 25000 products on purpose in order to test performance. This server and Wordpress ...
odedta's user avatar
  • 76
0 votes
0 answers
6 views

I want create woocommerec match products columns

I have created three columns. In two columns I want to add woocommerce products (e.g bottoms in one and tops in another) and for third column I want it to be populated from products present in tops ...
Maxx's user avatar
  • 1
0 votes
0 answers
16 views

custom status in Woocommerce with database results

Im trying to add custom status to WooCommerce with DB results. first i add statuses key and lable name to databases and then add status with them. now below code is work well, but the problem is : its ...
Behzad's user avatar
  • 1
0 votes
1 answer
144 views

Why is my Wordpress admin not working

My WordPress admin has stopped working. This is running with WooCommerce. On the Customize Appearance > WooCoomerce > Store Notice, I tried to set the Store Notice to Off. I got this error ...
Jun Dolor's user avatar
  • 101
0 votes
0 answers
22 views

Wordpress pointing animated GIF images with wrong file name upon upload (GIFs animation not working)

y’all! How are you doing?! I’ve been struggling with animated GIF images on my website for a while now, and I discovered the problem, but not the solution, still. When I upload an animated GIF as a ...
carvalhomanzon's user avatar
0 votes
0 answers
26 views

Change in credit card payment button for woocommerce

good work everyone! What I want to do is to change the way in the woocommerce credit card payment button. I want to make the button part like this button, center part will also show total amount ...
Mehmet A.'s user avatar
0 votes
0 answers
40 views

Create bookings after subscription renewal

I want to make that after paying for the subscription renewal, bookings are created until the next payment day. First, I get the user id from the subscription and the next payment day. Next, I get ...
Veronika Jefimova's user avatar
0 votes
1 answer
59 views

ShipStation WooCommerce Integration error

An error occurred attempting to update orders: The remote name could not be resolved: 'www.example.com'
Adeel Abbas's user avatar
0 votes
1 answer
124 views

Set single product image (main image) and archive thumbnail image as different from each other in Woocommerce

We would like to set the single image and the archive image as different images, mainly because we want to include a .gif in archive (shop, category grid) and a normal png in the single page. Thanks!
ingntovar's user avatar
0 votes
0 answers
9 views

WooCommerce Simple Auction and delayed capture

I'm building an auction website using WP and WooCommerce and I've got a question about using WooCommerce Payments and processing "delayed" payments aka "Capture" in gateway ...
Konstantin Ilinov's user avatar
0 votes
1 answer
46 views

woocommerce_sort_product_tabs() expects an array

I am trying to add a custom tab to Woocommerce Product ; I have tried with this code snippet in functions.php : add_filter( 'woocommerce_product_tabs', 'woo_new_product_tab' ); function ...
codingteam's user avatar
0 votes
1 answer
18 views

Question about WooCommerce Subscription

Any help would be greatly appreciated. I have installed the Woocommerce plugin but I can't figure out how to get the actual monthly amount to show up on receipts. The plugin seems to add all one-time ...
AutoLet's user avatar
0 votes
1 answer
124 views

Why does WordPress not send the user the email to add a password?

I want to achieve that when the user registers on my website, I send him to a specific page, and without automatically logging in. When we do not register on a WordPress site, we are registered and ...
Estudiante's user avatar
0 votes
1 answer
282 views

Woocommerce - Include custom user meta in order 'filter by registered customer' Ajax search

I am trying to include a users custom meta named 'sageaccountnumber' within the 'filter by registered customer' section of the WooCommerce orders list as shown below: I already have the custom meta ...
DSmit's user avatar
  • 1
0 votes
0 answers
11 views

Is there a way to conditionally check if i'm on product variation page url like mydomain.com/myproduct?attribute_pa_color=red

I want to filter the output of the structured data only when i'm on page like this : mydomain.com/myproduct?attribute_pa_color=red A variation page with the attributes in the url The reason is rules ...
fab4_33's user avatar
0 votes
0 answers
252 views

Woocommerce backend sorting product drag drop by menu_order to date

is it possible to change the backend drag and drop product sorting to sort by date instead of the default sorting by menu order by default is short by menu_order this page: wp-admin/edit.php?post_type=...
hendra's user avatar
  • 11
0 votes
0 answers
218 views

WooCommerce: Redirect to an item's product page after item is removed from cart

On my cart page, I'd like to add a button that allows customers to remove an item from the cart, and after the items is removed, the customer is redirected to the product page for the item that was ...
glass duo's user avatar
  • 101
0 votes
1 answer
24 views

How call WordPress shortcode inside function file

I am trying to add shortcode to a new WooCommerce tab in the account section that I created in the functions file. add_action( 'woocommerce_account_new-item_endpoint', 'add_new_item_content' ); /** *...
Joey's user avatar
  • 1
0 votes
0 answers
137 views

Add Text in Single Product Page On a Specific Category

I would like to display a text in a specific category just under the add to cart hook. if ( is_product_category( 'sale' ) ) { add_action( 'woocommerce_product_meta_end', 'return_info' ); function ...
Jeremi Liwanag's user avatar
0 votes
0 answers
29 views

How to change shipping method title based on cart amount?

I applied a 5% discount to the Woocommerce cart, based on cart amount and shipping method, which seems to be working fine. But I cannot manage to change the shipping method title when the rule applies,...
Diego's user avatar
  • 1
0 votes
0 answers
29 views

Brands Filter Not Working For On Sale Products

I’m using the plugins Woocommerce and Perfect Brands for Woocommerce. And facing an issue with the brands filter. I’m using the following shortcode to display products on sale [products on_sale=”true”...
Yasen's user avatar
  • 101
0 votes
0 answers
50 views

Woocommerce template not working on newly added products

My theme templates dynamically create references to images, css classes, etc using the product's name. Pretty standard stuff... but recently, some of this dynamic content stopped working on any new ...
Colin's user avatar
  • 1
0 votes
0 answers
28 views

Blurry product card image - rendered is 486x452 vs 300x279 in real image. Smaller versions being autocreated and served using srcset

I'm a noob making my own website. It's pretty much ready but only now I noticed that my product card images are very perceptibly blurry. This happens even with all my CSS turned off. My theme is ...
José Guedes's user avatar
0 votes
1 answer
290 views

Change WooCommerce Order status from frontend form submitted data

I want to have a form on the front end of the site asking for the WooCommerce Order Number and phone number. Once the user submitted the details, it'll check for orders and if the data matched then it'...
Jituu's user avatar
  • 31
0 votes
0 answers
70 views

WooCommerce Modal Fly cart on add to cart - With AJAX

I am trying to make a custom Flycart that can provide same functionality as the plugin 'WPC Fly Cart' Currently I have a modal div html element in my header.php, but how can I correctly trigger it and ...
kris's user avatar
  • 1
0 votes
0 answers
36 views

Change variants URL

When I create a new varaint, a new item will be in wp_posts table and a new row in wp_terms table. What I want to achive is taht if the oroginal product was http://mysite/the-product-name/ and the ...
vaso123's user avatar
  • 181
0 votes
1 answer
204 views

How to update all products with same SKU prefixes when updating stock with CSV?

On my WooCommerce store, there are several cases where I show a same variable product with different names and descriptions (for SEO reasons). As WooCommerce doesn't allow to use a same SKU for ...
JulienVan's user avatar
  • 101
0 votes
0 answers
39 views

woocommerce change tax rate with checkbox

I'm using Woocommerce and I want to achieve the following: if a certain product is in the cart there should appear a checkbox on the checkout page. If the customer checks the box the product prize ...
Anto's user avatar
  • 1
1 vote
0 answers
218 views

Add custom fields to Woocommerce Category Page

I want to add custom fields to Category Woocommerce items (page-products-cat); I have tried using this code but It does not work : add_action(‘product_cat_edit_form_fields’, ‘...
codingteam's user avatar
0 votes
0 answers
90 views

Use a woocommerce hook to create a table and populate it with a query

In my Wordpress database I created some custom tables. I want to query these tables and display it on a woocommerce item page. Using the code snippet plugin I added a custom html table to the item ...
hacking_mike's user avatar
0 votes
0 answers
137 views

Woocommerce ajax search can't work on mobile

It's wired my ajax search code can work on the desktop, but in the mobile browser, the ajax search doesn't have any responses. I don't know how to get the trick. html <input type="text" ...
Pearson's user avatar
0 votes
0 answers
214 views

Add Additional 3 buttons next to "Add to cart" button in woocommerce product page

I have the following problem, I need a plugin that adds 3 buttons to the product page each button doing the following: Button 1: 1 piece with the standard price Button 2: 2 pieces with a 10% discount ...
Panait Andrei Alexandru's user avatar
0 votes
1 answer
1k views

Remove Woocommerce product from cart with ajax/fetch

I have a problem with removing products from the cart in Woocommerce and I think it has to do with WC_Cart::remove_cart_item. I only get these error messages: POST http://localhost:3000/esport/wp-...
Ulvar's user avatar
  • 3
0 votes
0 answers
62 views

How to get the attributes based on dependency in woocommerce?

I am trying to get the dependency attirbutes based on the selection of attributes. Make -- ford,yyy model -- f150,silver year -- 2019,2020 if the user select ford neeed to show f150 and if they select ...
mike's user avatar
  • 1
0 votes
0 answers
17 views

Woocommerce composite and bundle products

Im building my shop with woocommerce using composite and bundle products plugins. Can't seem to get the settings right for what im trying to achieve. Ive gone through the documentation and many many ...
Louise Langton's user avatar
0 votes
0 answers
15 views

Create WordPress account on different domain when WooCommerce order completed

I have 2 domains with 2 different WordPress instances: shop.example.com (WooCommerce) courses.example.com (LearnPress) When someone buy course from shop.example.com I want to automatically create ...
mikolaj's user avatar
0 votes
0 answers
21 views

Creating a woocommerce order when a user creates an account

I found the code below, but I'm wanting to attach a specific product to the order. How can I edit this code to attach a specific product ID? add_action( 'user_register', 'add_order', 10, 1 ); ...
Lonestar Dads's user avatar
0 votes
0 answers
34 views

How to add a static image inbetween the product tiles on main shoppage woocommerce?

This is the first time i'm asking for help online so keepin' my fingers crossed. I was wondering if it's possible to add an ( static / clickable ) image inbetween the products on my main woocommerce ...
Peer de Graaf's user avatar
0 votes
0 answers
23 views

WooCommerce adds a newline symbol (\n) between email recipients

In case I put more than one email as comma-separated list of recipients in WooCommerce recipient field, I don't get any of emails. Working example: first@example.com Not Working example: first@example....
Prokur's user avatar
  • 1
1 vote
1 answer
23 views

Custom e-commerce display for specific users [closed]

I am starting to build a WordPress website, with one specific functionality I’m struggling with. The business sells custom, recurring products to industrial customers. So, the desire is each customer ...
Steve's user avatar
  • 13
1 vote
0 answers
86 views

WooCommerce REST API aborts connection [closed]

I'm engaging with the Woo Commerce API via Python. I keep getting a strange error, when my program has iterated through about 190 products, the requests module returns an error: requests.exceptions....
Morgan's user avatar
  • 11
-1 votes
1 answer
16 views

Titles with thumbnails in media library

I have about 3000 products and need to assign images to them. The images all have titles including the product name, but this does not display along with the thumbnail when I look at the media library,...
texasbrit's user avatar
0 votes
0 answers
52 views

Custom field fetch error on woocommerce pdf invoice

I want to do some modifications to a template of WooCommerce, but I'm rather ZERO in PHP, so that is why I'm asking some guidance so I could perform my small modifications, which I'm sure are not too ...
DSM Sheeraz's user avatar
0 votes
1 answer
23 views

Want to add Number of Products added by each shop manager in users list

Actually I want to count how many products have added by each shop manager So thats why I Want to add Number of produts column here Can anyone Help me in it???
Muhammad Shoaib's user avatar
0 votes
1 answer
537 views

cannot create product attribute (taxonomy) and add terms on the same execution

I have the following functions to create a global product attribute and populate it with terms based on data from an API. protected function getOrCreateAttribute($slug, $name) { $...
gabtzi's user avatar
  • 101
0 votes
1 answer
120 views

Display out of stock products in WooCommerce [closed]

Is there a way to still display out of stock products on my WooCommerce website?
user303096's user avatar
0 votes
1 answer
44 views

Console errors after Wordpress Update 6.1

I am using Soledad theme with Woocommerce and after updating to version 6.1 I get these errors. Failed to load resource: the server responded with a status of 500 () post.php:1 Failed to load ...
in2d's user avatar
  • 101
0 votes
0 answers
20 views

How to create a container in php then customise it in CSS

I am a newbie so I think i have worded this right. I am using wordpress and have an if clause to echo something about returns policy for certain items. function christmas_returns() { global $...
Otis Gazzard's user avatar
0 votes
1 answer
86 views

CSS url rules not relative to css path in account endpoint areas. IE. subscriptions

I am using @font-face in CSS file with a relative url to font files (relative to the css file). However on the endpoints of the account page (create by woocommerce) the relative nature of the url ...
BlenderTutorials.org's user avatar
0 votes
0 answers
47 views

Replace the image of a product with its video in the shop page

I am trying to replace the image of the products with its video in the shop page. I tried this one add_action( 'init', 'get_product_video_url' ); function get_product_video_url() { $product_ids = ...
dev-one's user avatar

1 2 3
4
5
79