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.
3,932
questions
1
vote
0
answers
34
views
Adding a div wrapper for postcode and city fields on checkout page
can you advise me on where I'm making a mistake?
What I need:
I need to add a div wrapper for the ZIP code and city fields on the checkout page. I'm using the woocommerce_form_field_ filter for this.
...
0
votes
0
answers
55
views
Woocommerce product not responsive
I am trying to improve the rersponsiveness of my woocommerce product pages for mobile devices, e.g. here:
https://pvcarport24.de/pv-loesungen/solar-carport-stahl/
It seems like the class wp-embed ...
0
votes
0
answers
8
views
Difficult case to solve - Select + select = result(related data)
Is it possible to do this with a wordpress plugin? I tried to do it with JetEngine using relation metabox and it didn't work because of the filters
I need that:
select printer (taxonomy for now, ...
0
votes
0
answers
21
views
Woocommerce attatch files and custom input meta to cart items and then to order
I have a product designer plugin to Print t-shirts and mugs. The plugin makes the Design in base64 but doesn't save the uploaded images to the media library. So I came up with a custom Ajax function ...
0
votes
0
answers
26
views
he slug “sub category” is already in use by another term
How you deal it with woocommerce website. I am creating following categories in WooCommerce:
Buy > Display > Mobile > Iphone 14
Buy > Screen Protector > Mobile > Iphone 14
Is it ...
0
votes
1
answer
347
views
Adding 400 product categories with their hierarchy to a navigation menu
I've been trying to figure out a way to bulk add all the product categories from WooCommerce without having to add them manually through Appearance -> Menu.
I need their hierarchy to follow but I ...
0
votes
0
answers
28
views
add to cart linking to add to cart page
I am making a website in Wordpress and created a custom shortcode for loading the products.
That is working fine, however when clicking the add the cart button, if redirects me to the cart page, where ...
0
votes
1
answer
256
views
How to disable the autozoom on mouseover for the product image in Storefront theme of WooCommerce?
I'm currently using the WooCommerce plugin with the Storefront theme on my WordPress site. On the single product pages, the main product image has a default mouseover behavior that I want to modify.
...
0
votes
1
answer
264
views
Woocommerce, via php snippet: How to get product price and divide it by a number from an attribute, and then display the new price via php/html?
Hope something can help me, since php is unfortunately not my world:
I need to simply extract the product price of a woocommerce product, and divide it by a number taken from an attribute, and then ...
0
votes
0
answers
62
views
Cannot use dynamic prefix for WooCommerce permalink
I need to use a dynamic permalink structure for WooCommerce products, basically, the structure I'm trying to achieve is the following: /<dynamic>/post_name.
So what I did is create a rewrite tag:...
0
votes
2
answers
76
views
How to get products with the same custom attribute like ean code
I Try to get all products with the same ean code, but the query doesn't work and also doesn't give any errors. What am I missing?
Here is the code I use.
if (is_product()) {
global $product;
$...
0
votes
0
answers
58
views
Woocommerce paginate link generates #038 instead of ? - seems connected to caching
If I don't reset my cache before using the shop page, #038 appears in the URLs generated in the pagination links at the bottom of the page, and the pagination doesn't work (stays on the same first ...
0
votes
0
answers
31
views
limit all products
I want to limit all products. For example, if I have 135 products stored in the database, then I want to display 50 (latest) products.
Is there a hook or can I modify any file?
Note:I don't want to ...
0
votes
0
answers
6
views
Pricing Rules plugin bulk table not showing in varition of products (have 2 attributes) if single attribute its shows
Its Not showing
but same single attribute product its shows
0
votes
0
answers
56
views
Need to add custom cart item data
I need to create custom elementor product carousel. From that carousel there is a date field. User can select date and add product into cart. The selected date will be displayed as 'preferred date' ...
0
votes
0
answers
45
views
how to refrence woocommerce blocks in code?
i am writing a block that extends some core blocks, so when i refrence them i use the way wordpress refrence them: "core/group", "core/heading" and so on. and it works great. i ...
0
votes
0
answers
36
views
How to change product title color in shop page if product has specific product tag (Woocommerce)?
How to make Woocommerce automatically change product title color for shop page if product has specific product tag (Woocommerce)?
Example: if products have tag "banana" or "melon", ...
0
votes
0
answers
5
views
"Joined in" or "Member since" displayed on single store page and then using shortcode to add
I'm trying to add the registration date of users (vendors) to my single store page. This would ideally read "member since (date)". I also want to use shortcode so I can apply this manually ...
1
vote
0
answers
86
views
wordpress woocommerce templates did not update?
I have two sites, one sandbox and one live.
Woocommerce needs a core updates so I updated all the plugins, WordPress and Woocommerce. In wp-admin->woocommerce->status on my sandbox under ...
0
votes
0
answers
44
views
WooCommerce / Elementor change Add To Cart button text and link for variable products
I'm trying to edit the 'add to cart' button on WooCommerce and I'm using Elementor products widget to show them on shop page and other category pages.
I need to change the button text to 'Quick Add' ...
0
votes
0
answers
6
views
Wocommerce single product custom design with different attributes using drop down
I want to create this type of page for my Woocommerce WordPress how can I create this type of page any plugin free or paid thanks...
1
vote
1
answer
17
views
How do we ReWrite HTACCESS to point a cat/subcat Product URL, to Cat/ only?
We have a problem where a site has got some odd URLs indexed by Google.
This is the incorrect path:
example.com/shop/mens/jeans/jean-product/
This is the correct path:
example.com/shop/mens/jean-...
0
votes
0
answers
80
views
Woocomerce: Php code displayed on Product detail page
I have installed WP 6.4.1, and set up a WooCommerce version 8.2.2
On product detail page I see partial php code. Can someone give me a hint what I am missing here and how to troubleshoot this issue?
...
0
votes
0
answers
33
views
How to make the product single photos vertical? (woocommerce)
I would like to stack all the images on the product page one above the other, without thumbnails, instead of having only one large image above the thumbnails. Many fashion stores showcase this effect ...
0
votes
0
answers
59
views
Woocommerce Payment Plugin with Mycred being the payment processor
some help please.
I am trying to build a Woocommerce Payment Plugin with MyCred being the payment processor on another website. The mycred remote api is well configured, and I wrote the payment method ...
0
votes
0
answers
11
views
Filtering by Hard-coded WooCommerce Product Attributes
I searched everything and couldn't find an issue related to my problem.
Most of our product attributes are hard coded in a way that they don't exist in Products->Attributes but are directly created ...
0
votes
0
answers
76
views
WooCommerce hide product image and gallery in single product page
I am adding this code to remove product image and gallery in single product page. This works in Wordpress default theme 2021, but not in newest (22 and 23). In newest themes product image and gallery ...
0
votes
0
answers
60
views
How to set default product type in WooCommerce to External/Affiliate
I've been struggling to set the default product type in WooCommerce to be "External/Affiliate". I tried every line of code I found in this forum but none of them seem to be working.
...
0
votes
1
answer
24
views
Wp Redirect Not Working Can u Help
Hey I developed a form in which user will add detial and it will send email to the team using wp mail. Now i have two issue one is i am having redirect issue i want to redirect user to back page after ...
0
votes
1
answer
343
views
Where is WooCommerce order shipping methods stored
I need to create statistic about shipping methods used. I know that there a method get_shipping_methods() but it takes a very long time to use it with tens of thousands of orders. I would like to ...
0
votes
0
answers
321
views
Recalculate Completed Orders on WooCommerce to subtract Tax from Order Total
here is a situation I'm facing, I appreciate any help I can get on this:
So here is the situation, I have a WordPress store integrated with WooCommerce.
Setup:
product price include tax.
Germanized ...
0
votes
1
answer
73
views
What is the PHP Code for Woo Customer Type (New/Returning)
I've seen that there is a Customer Type column in the in-built Analytics.
Can someone tell me the php code for this? I want to use it somewhere else and it seems like a ready function which I could ...
0
votes
1
answer
75
views
How to address an invalid "NOT IN ()" query?
Symptoms:
In WordPress admin menu we cannot see any pages or products listed any more,
even thoguh the pages and products are still accessible through weblinks for example.
Tracing the issue:
On one ...
0
votes
0
answers
10
views
I want to change the products I created with Advanced Custom Field to Woocommerce Product attribute
I have a site I created using ACF Pro. There are thousands of products here. I want to change all these products to Woocommerce.
Is there a plugin that automatically matches product features as ...
0
votes
0
answers
38
views
Having issues with edit-tags.php not saving $_POST values for custom post_types including woocommerce product_cat
I added custom fields to WooCommerce category edit form using add_action('product_cat_edit_form_fields') and on update action add_action('edited_product_cat') The fields display correctly.
On update ...
1
vote
1
answer
42
views
How do I get my image for my product to not be blurry
I use the plugin for woocommerce - Extra Product Options & Add-Ons for WooCommerce by ThemeComplete. And I have these images used in the extra product options. They are blurry. When you have ...
0
votes
0
answers
123
views
Product reviews in my sql database
Apparently product reviews section within woocommerce does not have any option to adjust the amount of reviews displayed per page under screen options? Unlike the products section. Is there a way to ...
0
votes
1
answer
67
views
Show shipping class in admin product list
I'm looking for a way to show the Shipping Class of a product in the product admin overview to be able to quickly check if the right shipping class was selected for a product.
Can you help?
0
votes
1
answer
84
views
How to get orders that contains a product by date?
I want to get the orders that contains a specific product ID by date. But the result is empty w<hile it should'nt.
Ideally i need to send only the MONTH in $order_date to get orders by MONTH
...
0
votes
0
answers
55
views
Woocommerce Payment Method Change
How do I go about setting all orders that are on-hold to have a Payment method of cod?
Any tips on what hooks I can use would greatly be appreciated!
Thanks
Edit:
I have written this code but the ...
0
votes
0
answers
69
views
Woocommerce - how can i add items to cart using onclick - multiple items at once with custom prices
I am actually creating an order form (sort of). Based on the items a customer selects, logic needs to be applied to calculate the custom price per item. Custom price is now stored in hidden input ...
0
votes
0
answers
50
views
Sticky bar with filter button and product count
I use elementor and hello theme. I need to create a sticky bar with filter button and product count when you scroll product archive, similar to https://www.chanel.com/it/make-up/labbra/c/5x1x1x31/...
0
votes
0
answers
125
views
Creating WooCommerce product variations programatically not bounding a particular attribute to a particular variation
/**
* Plugin Name: ERP - WooCommerce Sync
* Description: Erp Sync
*/
// Exit if accessed directly
if(!defined('ABSPATH')) {
exit;
}
// Getting the saved API response
$api = ...
0
votes
0
answers
216
views
Email Woocommerce customer a link to login and set a password for their automatically created account
I'm trying to get this to work but I can't find a plugin and I'm not a developer as such.
What I'm hoping is to be able to override the relevant Woocommerce email template file to include a snippet ...
0
votes
0
answers
17
views
WooCommerce wrong language
I installed WooCommerce into my Wordpress site which is using Bridge theme, but I am not able to change the language. It's always displayed in english but I need to change it to german. While looking ...
0
votes
0
answers
33
views
How to retake a webcam image through phone camera
am creating a form where guests take a picture through their phone camera before submitting the form. So the webcam works well on desktop/computer but on mobile devices I notice when the Retake ...
0
votes
0
answers
27
views
Redirrect after facebook successful login to wooommerce cart page url
I am building a woocommerce plugin for facebook popup modal login. if user click on add to cart button, modal will displayed for login, after successful login, product will be added to cart and ...
0
votes
0
answers
137
views
Phone number custom field and woocommerce updating issue noticed
I use Wordpress user frontend plugin to allow guests to post their woocommerce product on my website but I have observed some issues.
Firstly, I added a phone number field in the form, then also added ...
0
votes
1
answer
92
views
How to capture number input from wordpress form into acf field in woocommerce
WUFP Phone fieldI am trying to capture the phone number of guests that submit a form on my woocommerce website using the advancedwoocommerce custom field for phone no custom field plugin. I noticed ...
0
votes
1
answer
100
views
How to implement my product variations/attributes in my contact form 7 email?
I'm working on a website that is using woocommerce and yith to add product variations.
When the customers wants to buy something, he will have to choose between some product attributes, like the size, ...