walidlahbil
Forum Replies Created
-
Hello @plantprogrammer
Thank You for your help, the issue was in SEO plugin, when I deactivating it, My edit product page is reloading correctly.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Disabling Link by StripeSolution for the issue :
1 – go to https://dashboard.stripe.com/settings/payment_methods and sisable stripe
2 – In your Woocommerce backend > Settings > Payments > Stripe disable itForum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Disabling Link by StripeHello,
I have the same problem, any suggestions !Thank you for your response, I figured out without using the plugin
Hi @ seank123,
Yes I have tried and it returns 0 in stock_status, that’s mean it considered like an “outofstock” status.
This is the code I use it to add my new status :function filter_woocommerce_product_stock_status_options( $status ) { // Add new statuses $status['pre_order'] = __( 'Pre order', 'woocommerce' ); return $status; } add_filter( 'woocommerce_product_stock_status_options', 'filter_woocommerce_product_stock_status_options', 10, 1 ); // Availability text function filter_woocommerce_get_availability_text( $availability, $product ) { // Get stock status switch( $product->get_stock_status() ) { case 'pre_order': $availability = __( 'Pre_order', 'woocommerce' ); break; } return $availability; } add_filter( 'woocommerce_get_availability_text', 'filter_woocommerce_get_availability_text', 10, 2 );Forum: Plugins
In reply to: [Contact Form 7] Hide “No file chosen” text for File Upload FieldHello,
I arrived to hide input button but can’t display file name choosen,
My CSS code work wellspan.wpcf7-form-control-wrap.file-611{ display: inline-block; position: relative; width: 100%; height: 40px; border-radius: 5px; border: solid 1px #4096ee; background: #0C2A4E; color: #FFF; overflow:hidden; cursor : pointer } .wpcf7-form-control-wrap.file-611 input { position: absolute; width: 1500px; height: 1000px; right: 0; bottom: 0; outline: none !important; cursor: pointer; } .wpcf7-form-control-wrap.file-611::before { content: 'Nous transmettre votre cahier des charges'; display: inline-block; font-size: 14px !important; position:absolute; left:5%; top:17%; } .wpcf7-form-control-wrap.file-611::after { content:url(https://www.radper.com/wp-content/uploads/2022/09/upload-24.png); position:absolute; top:17%; right:2%; cursor: pointer; }My javascript code (I’m trying just to display a pop up but it’s not working !)
const input_file = document.querySelector('span.wpcf7-form-control-wrap.file-611'); input_file.addEventListener('click', function(){ alert("I am an alert box!"); console.log("hello"); })