Woocommerce – Change Variable Product Add to Cart to behave like external product using Custom Field (link) [closed]

I was able to find the solution. This is so simple and I can’t believe I did not just do this first, but there you are (duh), I thought it was more complex than that… My solution is below: Copy woocommerce template to my theme to override single-product/add-to-cart/variable.php editing variables.php, change the <?php echo esc_url( … Read more

Create a regular post for every WooCommerce order

in comments I propose to make the order as public but I found a easier way to display a order : with a shortcode i try this in a plugin : add_shortcode(“view_order”, function ($atts, $content = “”, $tag) { if (!isset($_GET[“order_id”])) { return “no id”; } $order = get_post($_GET[“order_id”]); if ( !isset($order) || (“shop_order” !== … Read more

Change WooCommerce add_to_cart Button Text?

It’s not working because: get_the_terms( $post->ID, ‘product_cat’ ) yields an array of objects, to test against those objects you have to run a loop and pull a $term_id property out of each object. WordPress to the rescue! WordPress has a helper method for that… has_term(330,’product_cat’, $post); Use the has_term method to satisfy your conditional.

Can’t Change WooCommerce Default Language to Spanish (Mexico)

Oh god…I just tried to “Update Translations” and now it just magically works…so frustrating… So if this happens to anyone, you don’t need to download anything…just set your language in wordpress under General, go to the Updates section and at the bottom you will see language updates. Update those files and the WooCommerce language files … Read more

Let users sell video in my website [closed]

If you have an education website LearnDash could be a good choice. It’s a good plugin but doesn’t include a free version. Users can register as teacher and sell their courses. Other option could be the combination of WooCommerce and a marketplace plugin like Dokan or YITH WooCommerce Multi Vendor. Both has nearly same features. … Read more

can i have shopping carts without plugin? [closed]

You can certainly code your own shopping cart – but ultimately that code should live inside a custom plugin (or plugin functionality housed in a custom theme). So the short answer is “no” – one way or another you need to write or use a plugin. Please note that plugin recommendations are off-topic on this … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)