Advanced Archives - Plugin Republic https://pluginrepublic.com/support-categories/advanced-woocommerce-deposits-and-part-payments/ WooCommerce Plugins Tue, 14 Sep 2021 13:23:31 +0000 en-US hourly 1 https://pluginrepublic.com/wp-content/uploads/2020/10/cropped-favicon-1-32x32.png Advanced Archives - Plugin Republic https://pluginrepublic.com/support-categories/advanced-woocommerce-deposits-and-part-payments/ 32 32 Changing text strings in Deposits and Part Payments https://pluginrepublic.com/documentation/changing-text-strings-in-deposits-and-part-payments/ https://pluginrepublic.com/documentation/changing-text-strings-in-deposits-and-part-payments/#respond Tue, 14 Sep 2021 13:23:30 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=1295305 If you’d like to change the text strings for ‘Payment options’, ‘Pay deposit’ and ‘Pay in full’, you can use the following snippet: Here’s how to add the snippet.

The post Changing text strings in Deposits and Part Payments appeared first on Plugin Republic.

]]>
If you’d like to change the text strings for ‘Payment options’, ‘Pay deposit’ and ‘Pay in full’, you can use the following snippet:

View this code snippet on GitHub.

Here’s how to add the snippet.

The post Changing text strings in Deposits and Part Payments appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/changing-text-strings-in-deposits-and-part-payments/feed/ 0
Programmatically set whether a product should have a deposit option https://pluginrepublic.com/documentation/programmatically-set-whether-a-product-should-have-a-deposit-option/ https://pluginrepublic.com/documentation/programmatically-set-whether-a-product-should-have-a-deposit-option/#respond Mon, 19 Oct 2020 07:39:37 +0000 https://pluginrepublic.com/?post_type=ht_kb&p=654064 There might be an occasion where you want to have more flexibility over which products have a deposit. There are two code snippets below. The first shows how to set a deposit on all products in a list. The second product shows how to set a deposit on all products in a certain category. In […]

The post Programmatically set whether a product should have a deposit option appeared first on Plugin Republic.

]]>
There might be an occasion where you want to have more flexibility over which products have a deposit.

There are two code snippets below. The first shows how to set a deposit on all products in a list.

The second product shows how to set a deposit on all products in a certain category.

In both cases, you’ll need to update the snippet slightly for your own use case – either change the list of product IDs in the first snippet, or change the category slug in the second snippet.

View this code snippet on GitHub.

Here’s how to add a snippet.

The post Programmatically set whether a product should have a deposit option appeared first on Plugin Republic.

]]>
https://pluginrepublic.com/documentation/programmatically-set-whether-a-product-should-have-a-deposit-option/feed/ 0