Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all 102571 articles
Browse latest View live

How do I prevent a post_meta from appearing in the customs fields tab

$
0
0

Replies: 0

Hi, I’m making a menu on the product edition page where different text fields appear with: Creating custom tab

add_filter( 'woocommerce_product_data_tabs', 'add_product_menu_size' );
	function add_product_menu_size( $product_data_tabs ) {
		$product_data_tabs['tables-menu'] = array(
			'label' => __( 'tables menu', 'test'),
			'target' => 'tables_menu'',
		);
		return $product_data_tabs;
	}

Creating text field and saving post_meta

add_action( 'woocommerce_product_data_panels', 'add_custom_product_fields_tables_menu' );
add_action( 'woocommerce_process_product_meta', 'custom_product_fields_tables_menu_save' );
	function add_custom_product_fields_tables_menu() {
		global $woocommerce, $post;
		?>
		<div id="tables_menu" class="panel woocommerce_options_panel">
			<?php
			woocommerce_wp_text_input(
				array(
					'id'          => 'tables_menu',
					'label'       => __( 'Titel or instructions', 'woocommerce' ),
					'placeholder' => 'prueba123',
					'desc_tip'    => 'true'
				)
			);
	?>
		</div>
		<?php
	}
function custom_product_fields_tables_menu_save($post_id){
		$woocommerce_custom_product_text_field = $_POST['tables_menu'];
		if (!empty($woocommerce_custom_product_text_field))update_post_meta($post_id, 'tables_menu', esc_attr($woocommerce_custom_product_text_field));
}

the thing is that when I go to the customs fields part, the field and the value put in it appear as aria that does not appear image: Link Image


Allow Customers to download their order as XML – Woocommerce

$
0
0

Replies: 0

Hi!

I’m looking to find a way to allow customers to download their order – once placed – into an XML/Excel file, from the ‘Account’ page and then re-upload.

The business I work for provides custom menus to our sales reps only. I have designed the website as a catalogue only view for non-logged in customers, but my sales reps can log in and collate the products they want in a menu for a customer they are servicing.
I’m looking for a way that once they finalise the ‘menu’ (checkout) that an excel file (similar to that an owner would download in the back end) will download where they can fill in some extra information I require, and then upload that to their account – possibly linked to their lodged ‘menu’ (Order).

Everything thing I find is for me to download the file not the customer as required. Thanks in advance.

Email notification to admin for modified subscriptions

$
0
0

Replies: 1

Hello there,

For some reason I’m not receiving notification emails when customers modify their subscriptions (for example, they might change their meat preferences or number of weekly meals or add-ons from week to week). Can this type of notification be triggered?

How to add secondary read and write reviews on different page?

$
0
0

Replies: 1

Is there a way to add another Woocommerce review system on a different page besides the product page?

Adding custom field to Additional Information tab

$
0
0

Replies: 0

Hello,

I would like to add a custom field to product variations, and have this show up in the Additional Information tab.

E.g. I have a Variable Product, with three variations, and I would like the barcode number for each variation to be displayed in the Additional Information tab, along with the size and weight information that is already displayed there.

Is there a plugin that allows this to happen?

Multiple Redirects with Woocommerce plugin

$
0
0

Replies: 0

My website gets a alphanumeric suffix attached to the url on activating woocommerce plugin and issue of multiple redirects start. The problem goes if i deactivate the plugin. I need woocommerce as i sell products on my site

unhook invoice_status_change from order_status_change

$
0
0

Replies: 2

when the order status changes, the invoice status is changed automatically. We would like to unhook the change of invoice_status from order_status_change.

F.ex. the order_status is changed to “processing”, the invoice_status is changed as well. How can we stop this behaviour?

How to display an Icon on Single Page if a Product Has A Specific Tag

$
0
0

Replies: 3

Hey Support Team/Community,

Hope you are well. I’m stuck with one of my clients’ sites. I would like to display feature icons. This means that if a product has a specific tag it would = display a specific icon. I wasn’t sure what is the best approach for this is.. I have a custom elementor site/not themed so I thought I should do it over the small summary..

Could you guys help to complete it? Not sure where to end it… I know how to display all the icons if there is more than one tags.. Initially I thought about lists/arrays but not sure now..

Here is my nooby code:

function magik_custom_text( $post_excerpt ) 
{	
	$socialcontribution = '';
	$naturalingredients = '';
	$veganfriendly = '';
	$plasticfree = '';
	$recycleable = '';
	$sustainable = '';
	$handmade = '';
	$madeinuk = '';
	$refillable = '';
	$organic = '<i class="fab fa-500px"></i>

';
	
	$thelist = array();
	
	if ( has_term( 'organic', 'product_tag' ) ) {
		$thelist[] = $organic;
		return $thelist[0] . '<br><br>' . $post_excerpt;
	} elseif ( has_term( 'refillable', 'product_cat' ) ) {
		return $refillable . '<br><br>' . $post_excerpt;
	} else {
		return $content . '<br><br>' . $post_excerpt;
	}
	
}
add_filter('woocommerce_short_description', 'magik_custom_text', 10, 1);

Every help helps… Thank you 🙂

Oliver


Just show the coupon input filed and button on the checkout page

$
0
0

Replies: 2

Image: https://ibb.co/T2ZWXsQ
I want the coupon field on the woocommerce checkout page to be like the image. No toggle button, no dropdown, and no text. Just the input field with a placeholder “Coupon code” and the “Apply coupon” button.

Can anyone please help? Thanks in advance!

Time slots are not displayed with Woocommerce Bookings

$
0
0

Replies: 1

Hi,

I am sharing here the solution to a problem encountered with Woocommerce Bookings and the display of the block with the time slots after selecting a date.

This display seemed to work perfectly on desktop but the time slots were not displayed during tests on mobile outside our internal network.

In the end, it was not a mobile problem, but a network problem. The display of time slots is conditioned by an ajax call made on the /wp-admin/admin-ajax.php route.

Like many, we block access from outside our internal network to all /wp-admin/ routes, which is why it did not work in our mobile tests from an outside network.

You must allow access to this route from the outside.

Hoping to have been able to help other users.

Order linked products by price inside a grouped product.

$
0
0

Replies: 0

Hi, I am having very weird issue and I was hoping someone could help me out.

I have grouped products in my store and I have linked to them simple products. Everything works just fine but the the order in the frontend is shown exactly by the order I have inserted the linked products to the grouped product, I need the order of the linked products to be by their price.

In previous versions of woocommerce I was able to just reorder with my mouse the linked products and it would just work. In this new version I am not able to do this. I reorder, update the product and everything goes back as it was before my reorder.

So my question basically is, can I just show my linked products by the price automatically inside the grouped product?
I have also tried using the “menu order” feature, it’s not working.

https://imgur.com/a/WPINNw2

Redirect error caused by WooCommerce plugin

$
0
0

Replies: 0

Hi all,

I am having a redirect error on my website when I have the WooCommerce plugin activated. When I deactive it, the website works fine. Except that I don’t have the shop and cart working. The error on the website is as follows:

This page is currently not working. Too many redirects.

The log file in WooCommerce —> Status is as follows:

2021-06-08T09:08:02+00:00 CRITICAL Uncaught Error: Call to undefined function wp_is_auto_update_forced_for_item() in /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-admin/includes/theme.php:719
Stack trace:
#0 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/strato-assistant/inc/cron-update-deactivated-plugins.php(33): wp_prepare_themes_for_js()
#1 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(292): Strato_Cron_Update_Deactivated_Plugins->update_deactivated_plugins()
#2 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-includes/plugin.php(551): WP_Hook->do_action()
#4 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-cron.php(138): do_action_ref_array()
#5 {main}
  thrown in /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-admin/includes/theme.php op de lijn 719

2021-06-08T09:11:37+00:00 CRITICAL Uncaught Error: Call to undefined function wp_is_auto_update_forced_for_item() in /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-admin/includes/theme.php:719
Stack trace:
#0 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-content/plugins/strato-assistant/inc/cron-update-deactivated-plugins.php(33): wp_prepare_themes_for_js()
#1 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(292): Strato_Cron_Update_Deactivated_Plugins->update_deactivated_plugins()
#2 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters()
#3 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-includes/plugin.php(551): WP_Hook->do_action()
#4 /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-cron.php(138): do_action_ref_array()
#5 {main}
  thrown in /mnt/web015/e2/72/511346872/htdocs/STRATO-apps/wordpress_01/app/wp-admin/includes/theme.php op de lijn 719

Does someone know how to fix this? I’ve already tried to deactive and delete WooCommerce but this doesn’t work.

Woocommerce Cart Colour

$
0
0

Replies: 1

Hi, I am trying to change the colour of the blue bar on the cart page. I think it is woocommerce-notices-wrapper

Woocommerce Force Sells adds product twice

$
0
0

Replies: 1

Our company rents out pre-pitched tents at festivals. For each tent rented via our WooCommerce webshop, we automatically add a deposit via synced force sells.

However, when a customer adds the same product twice to their cart, the deposit of the second added product is added twice to the cart. This means the customer gets 2 tents and 3 deposits in their cart, which we both don’t want. How can we solve this problem? Hope someone can help me out.

  • This topic was modified 1 hour, 39 minutes ago by iniasvi.

Need Recommendations for Food Ordering Features

$
0
0

Replies: 0

Hello,

I am building a site for a catering client that serves food during the breaks of theater shows. They want that guests can book food in advance through their website. Here are some of the features they need:

1. They will likely have different menus for different days, so let’s say the menu will change weekly. Is that possible to show different menus based on the date?

2. When a guest would reserve food online, they should be able to select the theater show (including date/time) that they will be attending, so that my client knows for when the food was ordered. Is that possible with WooCommerce?

3. Ideally, my client wants to approve orders before the client pays. So either, my client needs to approve order before the guest pays online OR my client approves orders and the guest pays at the event. However, for latter option, my client wants to make sure to avoid no-shows. So if a guest pays at the event, there needs to be the option to save payment details in case the guest doesn’t show up, that my client can still get his money.

IF this pre approving is not easily achievable, we need to make sure to set ordering limits for each event/theater show. Is that possible?

Would be super thankful for any suggestions!


Shipping

$
0
0

Replies: 0

Hi i would like to ask is there anyone done before shipping by category ?

If the customer choose food then only visible rider for delivery, if customer choose item then only visible as j&t, fedex, etc2

Changing permalink woocommerce product

$
0
0

Replies: 0

Hi,

My name is David and I am running an internet webshop.
I use woocommerce as my shop plug.

`I use cartflows to create funnels and product pages. I also sell through affiliates and other websites and they often link to my product pages. People that come from these affiliates go straight to the product permalinks that link to the product pages but not my product pages made on cartflows. These pages are completely different from the pages I create with cartflows, complete other layout, complete other style.

I hope to change the permalinks that are underneath the product titles to my product pages made with cartflows and I was hoping to see if someone knows how to do it and if it is possible.

It would help me out ALOT.

Thanks in advance for reading this whole essay, and I hope you have a great day!

Tax notice on dashboard

$
0
0

Replies: 0

Yesterday I updated woocommerce and I get this notice. The store doesn’t handle taxes, I have it disabled. I tried enabling, setting the tax, disabling it again and nothing. I know that the warning can be hidden by screen options but what I’m looking for is that it does not continue to appear.

Showing a message when adding a product over the in stock products.

$
0
0

Replies: 0

Hi,
I want to show a message when adding a product into the shoppingcart, but the quantity is more then the in stock quantity.
So when I have 1 in stock but someone orders 2, I want to show them a message that not all products are in stock.
How can I do this?

Change product download link to “force” download

$
0
0

Replies: 0

Hi,

When customers receive their “completed order” email and are provided with the link to download their product, the browser defaults to opening the PDF in a new tab. How can i change it so the customer is prompted to download the file to their local machine instead?

Problem is every time customers want to view the file they click the link in the email again and it exceeds their download limit for the product.

Can i change something in the PHP to make this happen?

Thanks

Viewing all 102571 articles
Browse latest View live