WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Multiple Local Delivery Zones (1 post)

  1. flizzy
    Member
    Posted 11 months ago #

    Hi! I'm running WooCommerce for a Landscape Supply company and I was wondering if its possible to add multiple fees for different zip codes.

    For example:
    main Local delivery option:
    Fee: Price X
    Zip Codes - .............

    Zone 1:
    Fee: Price Y
    Zip Codes - ...............

    Zone 2:
    Fee: Price Z
    Zip Codes - .................

    I copied and pasted this throughout the class-wc-shipping-local-delivery.php page and was wondering what other changes I would have to make

    'fee2' => array(
    				'title' 		=> __( 'Zone 2', 'woocommerce' ),
    				'type' 			=> 'number',
    				'custom_attributes' => array(
    					'step'	=> 'any',
    					'min'	=> '0'
    				),
    				'description' 	=> __( 'What fee do you want to charge for local delivery, disregarded if you choose free. Leave blank to disable.', 'woocommerce' ),
    				'default'		=> '',
    				'desc_tip'      => true,
    				'placeholder'	=> '0.00'
    			),
    			'codes2' => array(
    				'title' 		=> __( 'Zip/Post Codes', 'woocommerce' ),
    				'type' 			=> 'textarea',
    				'description' 	=> __( 'What zip/post codes would you like to offer delivery to? Separate codes with a comma. Accepts wildcards, e.g. P* will match a postcode of PE30.', 'woocommerce' ),
    				'default'		=> '',
    				'desc_tip'      => true,
    				'placeholder'	=> '12345, 56789 etc'
    			),

    http://wordpress.org/plugins/woocommerce/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.