<?xml version="1.0" encoding="UTF-8"?>
<install version="1.0" type="eshopplugin" group="shipping">
	<name>eshop_weight</name>
	<title>Weight Shipping</title>
	<author>Giang Dinh Truong</author>
	<creationDate>May 2013</creationDate>
	<copyright>Copyright 2013 Ossolution Team</copyright>
	<license>http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU/GPL version 2</license>
	<authorEmail>contact@joomdonation.com</authorEmail>
	<authorUrl>www.joomdonation.com</authorUrl>
	<version>3.9.5</version>
	<description>This is Weight Shipping method for Eshop</description>
	<config>
		<fields name="params" addfieldpath="/administrator/components/com_eshop/elements/">
			<fieldset name="basic">
				<field name="package_fee" type="text" label="Package fee" description="This is fee for package" size="5" default="0"></field>
				<field name="min_total" type="text" label="Min Total" description="If the total amount reach Min Total, then the Weight Shipping will be disable and the Free Shipping will be available. Leave 0 if you do not want to use it." size="5" default="0"></field>
				<field name="min_quantity" type="text" label="Min Quantity" description="If the quantity amount reach Min Quantity, then the Weight Shipping will be disable and the Free Shipping will be available. Leave 0 if you do not want to use it." size="5" default="0"></field>
				<field name="min_weight" type="text" label="Min Weight" description="If the total weight reach Min Weight then the Weight Shipping will be disable and the Free Shipping will be available. Leave 0 if you do not want to use it." size="5" default="0"></field>
				<field name="rates" type="textarea" label="Rates" description="You can set up multiple rates for multiple geozones, each rate per a row with format: geozone_id|weight_1;cost_1|weight_2;cost_2|weight_3;cost_3;..."></field>
				<field name="show_weight" type="list" label="Show Weight" description="If Yes, then total cart weight will be added to the title of Weight Shipping option." default="0">
                    <option value="0">No</option>
                    <option value="1">Yes</option>
                </field>
                <field name="show_shipping_cost_with_tax" type="list" label="Show Shipping Cost With Tax" description="If Yes, once you choose a Tax Class below, it will display shipping cost include tax." default="1">
                    <option value="0">No</option>
                    <option value="1">Yes</option>
                </field>
				<field name="payment_methods" type="eshoppayments" label="Payment Methods" description="Choose corresponding available payment methods when Weight Shipping method is chosen. Select all or Un-select all to choose all payment methods."></field>
				<field name="customer_groups" type="eshopcustomergroups" label="Customer Groups" description="Choose the customer groups to apply Weight Shipping."></field>
				<field name="disabled_products" type="eshopproducts" label="Disabled Products" description="Choose disabled products here. If the cart includes at least a disabled product, then the Weight Shipping will be not available."></field>
				<field name="taxclass_id" type="eshoptaxclass" label="Tax Class"></field>
			</fieldset>
		</fields>
	</config>
	<files>
		<filename>eshop_weight.php</filename>
	</files>
	<installsql />
	<installfile />
</install>