jonrains
Forum Replies Created
-
Forum: Plugins
In reply to: [Extra Fees Plugin for WooCommerce] Optional Fee activation breaks siteOne question, now that it is working, is there any way to move the Optional Fee checkbox down to where the rest of the fees are displayed? If the Option Fee is checked the fee appears correctly and in the correct place, however the checkbox is small and up the page next to an optional order notes field we are using which is also under Ship to a different address check box. I would really like the check box to be after the shipping cost where all the other fees are. That way the customer can see their shipping and total cost and then decide wether they would like to check the box to add an additional Rush Fee onto their order. It would be really great if you can supply me with line of code to make this adjustment. Thanks again.
Forum: Plugins
In reply to: [Extra Fees Plugin for WooCommerce] Optional Fee activation breaks siteIt appears that your line of code has resolved the issue and it now works. Thank you for your help. There is no need to proceed with our zoom call. Thank you for all your help.
Forum: Plugins
In reply to: [Extra Fees Plugin for WooCommerce] Optional Fee activation breaks siteI turned on logging and this is what I get.
2021-04-15T18:03:28+00:00 CRITICAL Uncaught Error: Using $this when not in object context in .../wp-content/plugins/woocommerce-conditional-product-fees-for-checkout-premium/public/class-woocommerce-conditional-product-fees-for-checkout-public.php:1026 Stack trace: #0 .../wp-includes/class-wp-hook.php(292): Woocommerce_Conditional_Product_Fees_For_Checkout_Pro_Public::add_option_to_checkout__premium_only(Object(WC_Checkout)) #1 .../wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters('', Array) #2 .../wp-includes/plugin.php(484): WP_Hook->do_action(Array) #3 .../wp-content/plugins/woocommerce/templates/checkout/form-shipping.php(69): do_action('woocommerce_aft...', Object(WC_Checkout)) #4 .../wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/wp_qjg9xb...') #5 /home/wp_qjg9xb/ in .../wp-content/plugins/woocommerce-conditional-product-fees-for-checkout-premium/public/class-woocommerce-conditional-product-fees-for-checkout-public.php on line 1026
Forum: Plugins
In reply to: [Extra Fees Plugin for WooCommerce] Optional Fee activation breaks siteSorry, should have mentioned this site is on a staging server that is not publically available so I cannot share a link. But any ideas on what could be happening would be appreciated.
Not much to say, we are running an Avada theme on WordPress with WooCommerce. We have PayPal enabled, and when we go to Payment Gateway Based Fees and Discounts and Enable it under PayPal, it works fine but displays the additional fee at chechkout with just a generic description of fee. To be more descriptive we added a Title under PayPal Fees and Discounts to display PayPal Fee, but when the title is added it now displays PayPal Fee and then aother PayPal Fee of the same ammount under that. Here are couple lines of HTML that are produced.
<tr class=”fee”>
<th>PayPal Fee</th>
<td><span class=”woocommerce-Price-amount amount”><bdi><span class=”woocommerce-Price-currencySymbol”>$</span>0.15</bdi></span></td>
</tr>
<tr class=”fee”>
<th>PayPal Fee #2</th>
<td><span class=”woocommerce-Price-amount amount”><bdi><span class=”woocommerce-Price-currencySymbol”>$</span>0.15</bdi></span></td>
</tr>