How to hide Woocommerce product Description tab only for unlogged users?
How to hide product "Description" tab' in Woocommerce plugin only for unlogged users, but visible for registered customers (and logged-in users).
How to hide product "Description" tab' in Woocommerce plugin only for unlogged users, but visible for registered customers (and logged-in users).
Variable/variations in woocommerce products. I can do this to get the attribute value from pa_size: <?php echo $product_variation->get_attributes()['pa_size']; ?> which is somewhere in /wp-admin/edit.php?post_type=product&page=product_attributes. But how do I get the pa_size label (in this case: 'Size')? Have tried to fetch…
In WooCommerce, I created a coupon like this. $coupon_data = [ 'code' => $code, 'amount' => '15', ]; $wooCommerceMRLiveV2 = WooCommerceConnection::wooCommerceMRLiveV2(); $retval2 = $wooCommerceMRLiveV2->post('coupons', $coupon_data); And when the coupon code is used, I need to delete it manually. But according…
I am using PHP Intelephense(version 1.3.7) which is the latest version and my VS Code is up to date There was no problem before but a few days ago, it keeps on highlighted all my wordpress function name I tried…
I am trying to modify a part of code inside: themes / flatsome / inc / shortcodes / ux_products.php I want to change this: <a href="<?php echo get_the_permalink(); ?>"> For this <a href="<?php echo get_the_permalink(); ?>" aria-label="<?php echo get_the_title(); ?>">…
I Need to Redirect a Custom Page If the Product Count is Zero in a Woocommerce Category Kindly Help me
How I can test the performance of my site. I need to check either more than 400 users can access the site at a same time and purchase one product. Need to test one special product to be sold. Which…
First of all I'm using wordpress with elementor plugin and the accordion feature. I've got a code of video player: <div id="player_div"></div><script src="https://lnaff.pl//API_VIDEO/LOCKER/js.js"></script><script> var ustawienia = {element_id:"player_div", wysokosc:"455", szerokosc:"800", skin:"1", czas_blokady:"19", dlugosc_filmu:"2589", video_url:"http://androidapkmodpro.com/wp-content/uploads/2020/01/Intro.mp4", video_img:"https://i.imgur.com/YvKvkYL.png", stream:"0", programy_url:["https://leadnet.pl/p_uri/q6pYwlgb27QyvVjdPke1/x1vo6wa/?parametr=",], player_button:["https://i.imgur.com/ACzzOnz.png",], }; LEADNETWORK_generuj_player(ustawienia);</script> I…
I'd like to change the product meta label from "Weight" to "Square Feet" in both the back end and front end. I've tried this and a few [hundred] variations without success: add_filter( 'woocommerce_register_post_type_product', 'custom_product_labels' ); function custom_product_labels( $args ) {…
I'm trying to update the data relating to a woocommerce order. I can retrieve the existing data but not update. Before I start, I've manually created an order by going to the orders page of the Dashboard, clicking the Add…