WPprodigy / woocommerce-product-fees

Add additional fees at checkout based on products that are in the cart.
https://wordpress.org/plugins/woocommerce-product-fees/
Other
26 stars 19 forks source link

Export Orders plugin is not showing the product fee #32

Closed agneszan closed 6 years ago

agneszan commented 6 years ago

Hello,I have a problem which is very important. After someone buys a product they also pay the product fees . I need to see the product fee after i export it to CSV Can someone help me ?

Thank You

WPprodigy commented 6 years ago

How are you exporting the orders, which plugin?

Don't want to just "pass blame", but this plugin is just adding fees that are built in to WooCommerce core. So it seems to me that your export plugin doesn't support a core WooCommerce feature.

agneszan commented 6 years ago

Hello , i dont know which plugin is the problem here , my client is using woocommerce smart export ( i will test this with different exports plugins and see ).

I have a second issue now , i just updated product fees from GitHub and now i see the Fee 0$ to all products , it was perfect before updating . Can you help me fix this ? Thank you .

On Tue, Nov 7, 2017 at 8:02 PM, Caleb Burks notifications@github.com wrote:

How are you exporting the orders, which plugin?

Don't want to just "pass blame", but this plugin is just added fees that are built in to WooCommerce core. So it seems to me that your export plugin doesn't support a core WooCommerce feature.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WPprodigy/woocommerce-product-fees/issues/32#issuecomment-342569283, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7vCnVqyytlPAVsU4v6asSiS0Dimu6Dks5s0JtNgaJpZM4QUtLa .

WPprodigy commented 6 years ago

Did you update the plugin on your website with the download from GH, or did you download from GH and then press update in WordPress?

What version does the plugin say on your site right now?

agneszan commented 6 years ago

Hello , Used the files from GH . The version now is Version 1.3.0-beta | By Caleb Burks http://calebburks.com/ .

Also i tested with diferrent export orders and its just not working . The export plugin is this https://wordpress.org/plugins/woo-order-export-lite/ Export orders with date from today and the product fee is just not showing in the order CSV file.

Thank You

On Tue, Nov 7, 2017 at 8:19 PM, Caleb Burks notifications@github.com wrote:

Did you update the plugin on your website with the download from GH, or did you download from GH and then press update in WordPress?

What version does the plugin say on your site right now?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WPprodigy/woocommerce-product-fees/issues/32#issuecomment-342574086, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7vCijC6JA4V7eOamcQhINLKljpG5A6ks5s0J8qgaJpZM4QUtLa .

agneszan commented 6 years ago

Are you testing checking ? Thank You

On Tue, Nov 7, 2017 at 8:25 PM, Agnes Pandek codezan91@gmail.com wrote:

Hello , Used the files from GH . The version now is Version 1.3.0-beta | By Caleb Burks http://calebburks.com/ .

Also i tested with diferrent export orders and its just not working . The export plugin is this https://wordpress.org/ plugins/woo-order-export-lite/ Export orders with date from today and the product fee is just not showing in the order CSV file.

Thank You

On Tue, Nov 7, 2017 at 8:19 PM, Caleb Burks notifications@github.com wrote:

Did you update the plugin on your website with the download from GH, or did you download from GH and then press update in WordPress?

What version does the plugin say on your site right now?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WPprodigy/woocommerce-product-fees/issues/32#issuecomment-342574086, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7vCijC6JA4V7eOamcQhINLKljpG5A6ks5s0J8qgaJpZM4QUtLa .

WPprodigy commented 6 years ago

I'll do some testing later today if I have some time. In the mean time, disable all plugins except for WooCommerce and Product fees to see if the error still occurs.

Also, try creating a new test product with fees.

agneszan commented 6 years ago

I disabled other plugins and tested , the fees works fine , but now it shows in all the products without me to set it inside the product .

Maybe there is some IF condition somewhere in your code that does this with the fee to show 0 in all products.

So there are 2 issues :

1 -- it shows FEE 0 to all products without me to set it . 2-- After order is being complete , the fee which was paid its not showing in any export orders CSV file .

Thank You.

agneszan commented 6 years ago

and by FEE 0 euro to all products , i meant , no matter which one you add to cart , it shows FEE 0

On Tue, Nov 7, 2017 at 9:39 PM, Agnes Pandek codezan91@gmail.com wrote:

I disabled other plugins and tested , the fees works fine , but now it shows in all the products without me to set it inside the product .

Maybe there is some IF condition somewhere in your code that does this with the fee to show 0 in all products.

So there are 2 issues :

1 -- it shows FEE 0 to all products without me to set it . 2-- After order is being complete , the fee which was paid its not showing in any export orders CSV file .

Thank You.

agneszan commented 6 years ago

so 1 product has a fee called plastic box of 1 euro , the others has no fee value written . and i get this in checkout .

SUBTOTAL €50.00 PLASTIC BOX €1.00 FEE €0.00 - THIS here is the problem , it was not here before update TOTAL €51.00

On Tue, Nov 7, 2017 at 9:41 PM, Agnes Pandek codezan91@gmail.com wrote:

and by FEE 0 euro to all products , i meant , no matter which one you add to cart , it shows FEE 0

On Tue, Nov 7, 2017 at 9:39 PM, Agnes Pandek codezan91@gmail.com wrote:

I disabled other plugins and tested , the fees works fine , but now it shows in all the products without me to set it inside the product .

Maybe there is some IF condition somewhere in your code that does this with the fee to show 0 in all products.

So there are 2 issues :

1 -- it shows FEE 0 to all products without me to set it . 2-- After order is being complete , the fee which was paid its not showing in any export orders CSV file .

Thank You.

WPprodigy commented 6 years ago

Do any of the other products in the cart have a fee value or name written in them? Leave the fields completely blank.

agneszan commented 6 years ago

No , all others are empty value the default you created

On Tue, Nov 7, 2017 at 11:19 PM, Caleb Burks notifications@github.com wrote:

Do any of the other products in the cart have a fee value or name written in them?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WPprodigy/woocommerce-product-fees/issues/32#issuecomment-342625451, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7vCjt8ep37gkIiiwgSqH0vABM-5XIgks5s0MlRgaJpZM4QUtLa .

agneszan commented 6 years ago

no matter which one i added in cart it always shows FEE 0 and the one i add ( if any value is added in product fee )

On Tue, Nov 7, 2017 at 11:19 PM, Agnes Pandek codezan91@gmail.com wrote:

No , all others are empty value the default you created

On Tue, Nov 7, 2017 at 11:19 PM, Caleb Burks notifications@github.com wrote:

Do any of the other products in the cart have a fee value or name written in them?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WPprodigy/woocommerce-product-fees/issues/32#issuecomment-342625451, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7vCjt8ep37gkIiiwgSqH0vABM-5XIgks5s0MlRgaJpZM4QUtLa .

agneszan commented 6 years ago

Hi,have you looked into it ? thank you.

On Tue, Nov 7, 2017 at 11:56 PM, Agnes Pandek codezan91@gmail.com wrote:

no matter which one i added in cart it always shows FEE 0 and the one i add ( if any value is added in product fee )

On Tue, Nov 7, 2017 at 11:19 PM, Agnes Pandek codezan91@gmail.com wrote:

No , all others are empty value the default you created

On Tue, Nov 7, 2017 at 11:19 PM, Caleb Burks notifications@github.com wrote:

Do any of the other products in the cart have a fee value or name written in them?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WPprodigy/woocommerce-product-fees/issues/32#issuecomment-342625451, or mute the thread https://github.com/notifications/unsubscribe-auth/Ae7vCjt8ep37gkIiiwgSqH0vABM-5XIgks5s0MlRgaJpZM4QUtLa .

agneszan commented 6 years ago

Hello ?

WPprodigy commented 6 years ago

Sorry. Looks like I introduced a bug in https://github.com/WPprodigy/woocommerce-product-fees/commit/4ce7703dcfc3a09e8ec093376f3a06186a615130#diff-d2b5fd6dbde39d42d322b3b8706416c6.

Fixed with the latest change: https://github.com/WPprodigy/woocommerce-product-fees/commit/5a323326eb1e9d4ff1cc53ceda1386c526f680e0