Skip to content

Commit

Permalink
v2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-sg-pacheco committed Jun 11, 2021
1 parent 9698c15 commit b2b53c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions includes/settings/class-alg-wc-cog-settings-advanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,8 @@ function get_settings() {
__( 'Enable compatibility with <a target="_blank" href="%s">%s</a> by WooCommerce', 'cost-of-goods-for-woocommerce' ),
'https://woocommerce.com/products/product-add-ons/', __( 'Product Add-Ons', 'cost-of-goods-for-woocommerce' ) ),
'desc_tip' => ( $original_desc_tip = __( 'Adds costs fields for the addons and creates an order meta with addons costs.', 'cost-of-goods-for-woocommerce' ) . '<br />' .
sprintf( __( 'It\'s necessary to add %s on %s option.', 'cost-of-goods-for-woocommerce' ), '<code>' . '_alg_wc_cog_pao_costs' . '</code>', '<strong>'.__( 'Orders > Extra Costs: From Meta', 'cost-of-goods-for-woocommerce' ).'</strong>' ). '<br />' .
__( 'It\'s also necessary that addons do not change names once purchased.', 'cost-of-goods-for-woocommerce' ))
. empty( $message = apply_filters( 'alg_wc_cog_settings', sprintf( 'You will need %s plugin to enable this option.', '<a target="_blank" href="https://wpfactory.com/item/cost-of-goods-for-woocommerce/">' . 'Cost of Goods for WooCommerce Pro' . '</a>' ) ) ) ? $original_desc_tip . '<br />' . $message : $original_desc_tip,
sprintf( __( 'It\'s necessary to add %s on %s option.', 'cost-of-goods-for-woocommerce' ), '<code>' . '_alg_wc_cog_pao_costs' . '</code>', '<strong>' . __( 'Orders > Extra Costs: From Meta', 'cost-of-goods-for-woocommerce' ) . '</strong>' ) . '<br />' .
__( 'It\'s also necessary that addons do not change names once purchased.', 'cost-of-goods-for-woocommerce' ) ),
'id' => 'alg_wc_cog_product_addons',
'default' => 'no',
'type' => 'checkbox',
Expand Down
2 changes: 1 addition & 1 deletion langs/cost-of-goods-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2021-06-11T18:49:41+02:00\n"
"POT-Creation-Date: 2021-06-11T20:21:48+02:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.4.0\n"
"X-Domain: cost-of-goods-for-woocommerce\n"
Expand Down

0 comments on commit b2b53c8

Please sign in to comment.