Post by foxwizzy » Sat Oct 29, 2016 4:30 pm

Hello forum.
Opencart version : 2.1.0.1
I have a website with console games
how do i apply a tax for 18+ games but only once

if i add a 5$ tax class and adds it to every 18+ game and you buy 10x 18+ games you get a 50$ tax
i need it to be 5$/checkout if 18+ games are in the cart

thankyou

Newbie

Posts

Joined
Sun Oct 23, 2016 2:19 am

Post by Johnathan » Sat Oct 29, 2016 10:55 pm

Two options:

1. Use the built-in "Handling Fee" Order Total, in Extensions > Order Totals. It allows you to add a flat fee just once to the cart, so it would work for your $5.00 tax. Note that it would NOT appear in tax reports, though, and it would not be limited to any particular products.

2. Use an extension like Category & Product-Based Fee/Discount to set a fee based on the products in the cart. You have flexibility to choose whatever calculation you want, so you could set a flat charge whenever one of the 18+ products were in the cart. You'd set it up like this:

------------------------------------------------------------------------------
CHARGE #1
Title: 18+ Tax
Group: A
Charge Type: Flat Charge
Charge Field: 5.00
Rule: Product Group: Cart has items from "any" members of "18+ Games"
------------------------------------------------------------------------------

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 further questions.

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by foxwizzy » Sun Oct 30, 2016 9:29 pm

Thank you....i will take a look

Newbie

Posts

Joined
Sun Oct 23, 2016 2:19 am
Who is online

Users browsing this forum: No registered users and 279 guests