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,942
questions
0
votes
0
answers
9
views
WooCommerce auto-create account and email login details after payment [closed]
I want my WooCommerce website to automatically create a customer account after payment and send an email with the username and password to the customer, and given link.
0
votes
0
answers
15
views
Change filter id into slug
I have a link like this when filter products by taxonomy "brand"
domain.com/shop/printer/?brand_id=10
I'm trying to change the link to
domain.com/shop/printer/product-brand-name/
how can ...
0
votes
0
answers
13
views
Apply Woocommerce coupon after custom discount in the cart or checkin [closed]
In my child theme functions.php I added a custom code to calculate dynamic discounts based on my client needs. What I am not able to do is, when a fixed price coupon (let's say fixed price on cart) is ...
0
votes
0
answers
8
views
I am having a problem with fetching product data in the Gutenberg block editor
const allProducts = useSelect((select) => {
return select('core').getEntityRecords('postType', 'product', {
per_page: -1,
_embed: true,
});
}, [postPerPage, orderBy, order]);
console.log(...
1
vote
1
answer
17
views
WooCommerce: Custom dropdown for variation selection
In WooCommerce, I have an attribute called License Type. This attribute has 2 terms:
Single Site License
Multi Site License
With the above, I'm trying to create a custom select dropdown, where the ...
0
votes
1
answer
17
views
Could WP ERP be the right software for a dropshipping business? [closed]
I am planning to resell wine through WooCommerce and will be handling most sales via cold calls, requiring manual order entry into the CRM. I need a solution that integrates WooCommerce, a fulfillment ...
0
votes
0
answers
12
views
_sold_individually value change when add to cart
I have wordpress setup with woocommerce.
Now I have set the option Sold individually to yes check the screenshot
But when I click on the add to cart button of that product and check the value again ...
0
votes
1
answer
15
views
How to display customer email within the meta order data box
On the order details page, i’d like to display the customer email in a distinct div in raw format
and add a little copy-to-clipboard jQuery plugin like on the attached screenshot
I played around with ...
0
votes
1
answer
19
views
Woocommerce products permalink based on SKU
I use this code in Wordpress (Woocommerce) to change products link:
function jpb_custom_meta_permalink( $link, $post ){
$post_meta = get_post_meta( $post->ID, '_sku', true );
if( empty( $...
0
votes
0
answers
16
views
Add a custom field for sorting the products in a specific category WOOCOMMERCE - Second try
Hi, mainly I need to add an "orderby filter selection" in the above dropdown menu, in WOO product category widget, based on an ACF field.
The final "OrderBy dropdown menu" content ...
2
votes
1
answer
21
views
Custom Search Function in WordPress Returns No Results
I'm trying to integrate a custom search function in my WordPress site where an external API is used to determine search results. The function is supposed to retrieve a list of post IDs from the API ...
1
vote
0
answers
15
views
Woocommerce: hide “Price display suffix” when the VAT is zero
is there a way to hide the “price display suffix” of the products when the VAT is zero?
(I’m currently doing some test on a local test site).
For example, the shop is set in Germany, the products have ...
0
votes
1
answer
23
views
Bulk delete 'Global Attributes' in WooCommerce via WP-CLI?
Is it possible to delete the global product attributes in WooCommerce by using WP-CLI?
I've often cleared out Users, Orders, and other items using something like this...
wp post delete $(wp post list -...
0
votes
0
answers
11
views
Need help adding currency conversion to this code
I found some code here: https://wisdmlabs.com/blog/woocommerce-set-minimum-cart-amount-user-role/
that prevents wholesale customers from putting in an order unless they satisfy a minimum cart amount. ...
-1
votes
0
answers
11
views
Can't login to WordPress due to plugin
I can’t even go to the site and change the plugin. Writes about activating Jetpack.
Fatal error: Cannot redeclare get_cli_args() (previously declared in
/var/www/u2709947/data/www/masterstroi-sura.ru/...