Is it possible to checkout with 2 different shipping options on a single order? [closed]
Normally I would suggest doing this programmatically, but honestly try this plugin If you want to go the code route checkout this article
Normally I would suggest doing this programmatically, but honestly try this plugin If you want to go the code route checkout this article
The only way I see is to use nested WHERE clause: SELECT p.*, pm2.meta_value as image_file FROM ( SELECT p.ID, p.post_title, `post_content`, `post_excerpt`, t.name AS product_category, t.term_id AS product_id, t.slug AS product_slug, tt.term_taxonomy_id AS tt_term_taxonomia, tr.term_taxonomy_id AS tr_term_taxonomia, MAX(CASE WHEN pm1.meta_key = ‘_price’ then pm1.meta_value ELSE NULL END) as price, MAX(CASE WHEN pm1.meta_key = ‘_sku’ … Read more
Assuming you are not allowed guest checkout what you can try is add a custom field to your WooCommerce products in which you would save the history of purchases as an array like [<user_id_1>, <user_id_2>, …]; write a custom function and use a woocommerce_order_status_completed hook to update this field according to products within the order … Read more
Looks like you just need to limit the height on mobile: @media (max-width:480px) { .carousel-item img { max-height: 200px; object-fit: contain; } }
My question is, is it a good idea to use docker for a big woocommerce website (more than 100k products)? Or will this incur a noticable performance cost compared to running wordpress straight on the VPS (without containerization)? It won’t make much difference, nothing you will notice. It’s not even in the top 50 things … Read more
you’ve probably enter that one in one of your file in your themes try using notepad++ to locate the ‘dis’ text
The syntax to get the ACF field of a custom taxonomy is: $var = get_field(‘name_of_acf_field’, ‘name_of_taxonomy’ . ‘_’ . taxonomy_ID); so in your case you’ll need to get product_cat ID before and do something like: add_action( ‘woocommerce_shop_loop_item_title’, ‘VS_woo_loop_product_title’, 10 ); function VS_woo_loop_product_title() { echo ‘<h3>’ . get_the_title() . ‘</h3>’; $terms = get_the_terms( $post->ID, ‘product_cat’ ); … Read more
Before a plain text email is sent in WooCommerce, all HTML tags and some HTML entities are stripped. Specifically, WooCommerce uses wp_strip_all_tags and preg_replace with a custom set of patterns and replacements to perform this operation. You can inspect the code in get_content in includes/emails/class-wc-emails.php. It appears that in this preg_replace operation, WooCommerce removes the … Read more
try to check your lost password url in woocommerce settings. There is a section with account endpoints. Check is this two urls adress are the same.
The user you are using to update an user has to be network admin This was my issue