Post by trixiemay » Fri Mar 17, 2023 10:21 am

OC3.0.3.2
I have client who takes 30% for bookings for each adventure package through his site.
How can I show products full price but calculate only 30% when added to cart?

thanks

___________________________________________
"Speak softly but carry a big stick" :crazy:


Active Member

Posts

Joined
Thu Mar 09, 2017 2:53 pm


Post by paulfeakins » Fri Mar 17, 2023 6:41 pm

trixiemay wrote:
Fri Mar 17, 2023 10:21 am
I have client who takes 30% for bookings for each adventure package through his site.
How can I show products full price but calculate only 30% when added to cart?
So you want products to appear 30% cheaper as soon as they're added to the cart? Don't you think customers would find that rather confusing?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by TMD Extension @ » Fri Mar 17, 2023 7:32 pm

it could be done without messing too much with existing opencart code.
create a customer group and attach that group to your customer to whom you want to give the discount.

now, create a discount coupon with a 70 discount and select the category that your customer wants to purchase the product from.
assign the customer group to that discount coupon.

All set...! your customer needs to just apply the coupon each time when he is going to buy :)

Image

Thanks & Regards
Sehaj Kaur
TMD Extensions
Contact Us For Customisations


Active Member

Posts

Joined
Thu Mar 17, 2022 12:59 pm

Post by by mona » Sat Mar 18, 2023 3:12 am

Have you tried seraching the marketplace ?
I think there is an extension in the marketplace called partial payment, maybe more than one.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by Johnathan » Sat Mar 18, 2023 11:35 pm

The easiest method would be to just add an Order Total extension that can give a 70% discount on the order. That way the ending total of the order is only 30%, and they can pay that amount using any payment method. It would end up looking like this, if you had Taxes or some other line item on the order as well:

Sub-Total: $200.00
Taxes: $25.00
To Be Paid Later: -$157.50
Total: $67.50

If you think that would work, then Total-Based Fee/Discount (https://www.opencartx.com/total-based-fee-discount) could do that. You'd just set the Sort Order so it appears in the right order, and then use a charge like this:

------------------------------------------------------------------------------
CHARGE #1
Title: To Be Paid Later
Sort Order: 1
Charge Field: -70%
Rule: Total Value = Total
------------------------------------------------------------------------------

That "Total Value" rule will use the full total at the point of the extension, so it will include all previous line items.

Feel free to take a look at the screenshots and demo site, and if you're interested let me know at www.getclearthinking.com/contact if you have any questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by SohBH » Fri Mar 24, 2023 4:35 pm

trixiemay wrote:
Fri Mar 17, 2023 10:21 am
OC3.0.3.2
I have client who takes 30% for bookings for each adventure package through his site.
How can I show products full price but calculate only 30% when added to cart?

thanks
Let
Price = $30
Full price = $100

Code: Select all

$data['fullprice'] = $data['price'] / 0.3;
You can show full price $100 but customer pay $30.

Business Web Development | Content Creation | Analytics and Reporting | SEO


User avatar
Active Member

Posts

Joined
Mon Nov 02, 2020 12:01 am
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 98 guests