The 5th annual nopCommerce conference will take place in India on the 10th-11th of October. Please find more about this event here

Extra Fee Plugin Needed for NopCommerce 4.2

Posted: May 15, 2019 at 6:39 AM Quote #231876
I have made a few modifications to nopCommerce for my Store and I have been having lots of fun learning about its intricacies; however, I am having difficulties completing a piece that requires additional expertise.

I would like to charge an extra fee to clients who need a delivery, but their total is under $20.  Furthermore, if they choose to pick up the product from our greenhouse, the fee is waived.

I was able to code up to the shopping cart, but the final total is not getting to PayPal.  PayPal is only getting the total without the extra fee and I am not sure how to get the Cart total to Paypal as well.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: May 15, 2019 at 6:42 AM Quote #231878
Hi,

I can help you with your requirement. Please get me in contact and share details so that I will check.

Email: [email protected]
Skype: cis.vincent

Regards,
Vincent
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: May 15, 2019 at 6:44 AM Quote #231879
Hello,

Kindly check your PM for same.

Thanks,
Jatin
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Thanks & Kind Regards
Jatin Gadhiya (Forefront Infotech)
Skype: jatin.gadhiya1

Visit out Official site for Plugins or Customization,
http://www.forefrontinfotech.com, http://www.nopcommerceplus.com
Email: [email protected], [email protected]
Posted: May 15, 2019 at 10:22 AM Quote #231892
Adding fees conditionally is supported by both Shipping Director and Payment Director (depending on where you want to add the fee).  We don't yet have the betas ready for 4.20.  We'll let you know when they are ready.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.noptools.com
Posted: May 15, 2019 at 3:19 PM Quote #231919
New York wrote:
Adding fees conditionally is supported by both Shipping Director and Payment Director (depending on where you want to add the fee).  We don't yet have the betas ready for 4.20.  We'll let you know when they are ready.


I am looking at Payment director and was wondering if you can provide some guidance on its configuration.  for example,
if I wanted to charge an extra $2 if the Sub-Total is less than $20; and the user is requesting a pickup at one of our drop-off locations.  the fee is waived if the user is going to pick-up from our greenhouse.  The fee is also waived if the user is shipping the products via UPS.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Posted: May 31, 2019 at 12:30 PM Quote #236905
Put your logic here.

public decimal GetAdditionalHandlingFee(IList<ShoppingCartItem> cart)
{
    //your custom code
}


It's available in payment plugin class.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Jaber Kibria
Software Engineer | nop-station.com
Email: [email protected]
----------------------------------------------------------------
Expertise in .NET Framework, Algolia, Plugins, Themes, Customization, Upgrade, API

Please upvote if it helps.
Posted: June 01, 2019 at 6:18 PM Quote #236982
webzest wrote:
...
I am looking at Payment director and was wondering if you can provide some guidance on its configuration.  for example,
if I wanted to charge an extra $2 if the Sub-Total is less than $20; and the user is requesting a pickup at one of our drop-off locations.  the fee is waived if the user is going to pick-up from our greenhouse.  The fee is also waived if the user is shipping the products via UPS.


With Payment Director...

Use the Fee Expression of an Option rule:

OrderTotalWithoutPaymentFee < 20 and ShippingOptionName.StartsWith("Pickup") and not ShippingOptionName.Contains("Greenhouse") ? 2.00 : 0.00
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
www.noptools.com
Posted: August 09, 2019 at 10:20 AM Quote #243502
This is very old post.
But maybe someone needs such issue.
Try this plugin Shipping Rules.
https://www.nopcommerce.com/p/3540/shipping-rules-foxnetsoftcom.aspx

You can add/remove/??? any amount to shipping rates.
This post/answer is useful
0
This post/answer is not useful

Please login or register
to vote for this post.

(click on this box to dismiss)
Premium support services
  • Dedicated premium support services provided by core developers are intended for persons who run mission critical websites, work on projects with tight deadlines, or want to get dedicated support.
Professional services
  • Want to open a new store? Want to take your store to the next level? Need a custom extension? We can customize nopCommerce to fit your store perfectly. Request a quote to get started.
eCommerce CONFERENCE 2019
Learn more