• Resolved tekhnologica

    (@tekhnologica)


    Hi,

    I’m getting the following error generated by the plugin upon calculating shipping costs:

    Easypost.com – Unable to Get Rates: Validation failed: Weight must be greater than 0

    The parcel array looks like this:

    [parcel] => Array
    (
    [length] => 3.5
    [width] => 2.5
    [height] => 0.015
    [weight] => 0
    )

    The problem appears to be that somehow the weight is getting set to 0. There are 5 products in the cart that each weigh a very small 0.08 oz each. They have to be set to this miniscule weight because they are collectible cards and do not weigh much. Is there perhaps an issue then with how these small weights are being calculated within your code?

    Please let me know and if there is a way to fix this issue. Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter tekhnologica

    (@tekhnologica)

    And sorry, the title should read “incorrect shipping weight” as that is the true issue. Unfortunately I can’t seem to change that. The reason for the current title is because at first I wasn’t seeing your plugin activating at all, but that’s because Woocommerce Services was enabled and generating rates instead (which by the way was an issue – I had to deactivate the Woocommerce Services plugin).

    hi,

    First please check if all the products in the cart have weight and dimension. and check if the calculation works if you increase the weight to 0.1 oz.

    Please do provide the debug data while calculating the shipping cost, to turn on the debug mode you can enable debug mode in the plugin settings.

    Regards,

    Thread Starter tekhnologica

    (@tekhnologica)

    Hi,

    Yes, each product has weight 0.08oz and dimensions 3.5″ x 2.5″ x 0.015″. The dimensions appear to show up correctly. I did change the weight to 0.1 oz for the products but still the problem is persisting. Here is the debug text:

    Shipping costs updated.Easypost.com debug mode is on – to hide these messages, turn debug mode off in the settings.EASYPOST REQUEST:
    Array
    (
    [from_address] => Array
    (
    [city] => Cedar
    [state] => Michigan
    [zip] => 49621
    [phone] => 2315341764
    )

    [to_address] => Array
    (
    [name] => –
    [street1] => –
    [zip] => 10301
    [country] => US
    )

    [parcel] => Array
    (
    [length] => 3.5
    [width] => 2.5
    [height] => 0.015
    [weight] => 0
    )

    [options] => Array
    (
    [special_rates_eligibility] => USPS.LIBRARYMAIL,USPS.MEDIAMAIL
    )

    )
    Easypost.com – Unable to Get Rates: Validation failed: Weight must be greater than 0EasyPost\Error Object ( [message:protected] => Validation failed: Weight must be greater than 0 [string:Exception:private] => [code:protected] => 0 [file:protected] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/EasyPost/Requestor.php [line:protected] => 268 [trace:Exception:private] => Array ( [0] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/EasyPost/Requestor.php [line] => 252 [function] => handleApiError [class] => EasyPost\Requestor [type] => -> [args] => Array ( [0] => {“error”:{“code”:”SHIPMENT.CREATE.ERROR”,”message”:”Validation failed: Weight must be greater than 0″,”errors”:[]}} [1] => 422 [2] => Array ( [error] => Array ( [code] => SHIPMENT.CREATE.ERROR [message] => Validation failed: Weight must be greater than 0 [errors] => Array ( ) ) ) ) ) [1] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/EasyPost/Requestor.php [line] => 123 [function] => _interpretResponse [class] => EasyPost\Requestor [type] => -> [args] => Array ( [0] => {"error":{"code":"SHIPMENT.CREATE.ERROR","message":"Validation failed: Weight must be greater than 0","errors":[]}} [1] => 422 ) ) [2] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/EasyPost/EasypostResource.php [line] => 141 [function] => request [class] => EasyPost\Requestor [type] => -> [args] => Array ( [0] => post [1] => /shipments [2] => Array ( [shipment] => Array ( [from_address] => Array ( [city] => Cedar [state] => Michigan [zip] => 49621 [phone] => 2315341764 ) [to_address] => Array ( [name] => - [street1] => - [zip] => 10301 [country] => US ) [parcel] => Array ( [length] => 3.5 [width] => 2.5 [height] => 0.015 [weight] => 0 ) [options] => Array ( [special_rates_eligibility] => USPS.LIBRARYMAIL,USPS.MEDIAMAIL ) ) ) [3] => 1 ) ) [3] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/EasyPost/Shipment.php [line] => 56 [function] => _create [class] => EasyPost\EasypostResource [type] => :: [args] => Array ( [0] => EasyPost\Shipment [1] => Array ( [shipment] => Array ( [from_address] => Array ( [city] => Cedar [state] => Michigan [zip] => 49621 [phone] => 2315341764 ) [to_address] => Array ( [name] => - [street1] => - [zip] => 10301 [country] => US ) [parcel] => Array ( [length] => 3.5 [width] => 2.5 [height] => 0.015 [weight] => 0 ) [options] => Array ( [special_rates_eligibility] => USPS.LIBRARYMAIL,USPS.MEDIAMAIL ) ) ) [2] => ) ) [4] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/includes/class-wf-shipping-easypost.php [line] => 457 [function] => create [class] => EasyPost\Shipment [type] => :: [args] => Array ( [0] => Array ( [shipment] => Array ( [from_address] => Array ( [city] => Cedar [state] => Michigan [zip] => 49621 [phone] => 2315341764 ) [to_address] => Array ( [name] => - [street1] => - [zip] => 10301 [country] => US ) [parcel] => Array ( [length] => 3.5 [width] => 2.5 [height] => 0.015 [weight] => 0 ) [options] => Array ( [special_rates_eligibility] => USPS.LIBRARYMAIL,USPS.MEDIAMAIL ) ) ) ) ) [5] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woo-easypost-shipping-method/includes/class-wf-shipping-easypost.php [line] => 325 [function] => get_result [class] => WF_Easypost [type] => -> [args] => Array ( [0] => Array ( [request] => Array ( [Rate] => Array ( [FromZIPCode] => 49621 [ToZIPCode] => 10301 [ToCountry] => US [WeightLb] => 0 [WeightOz] => 0 [PackageType] => Package [Length] => 3.5 [Width] => 2.5 [Height] => 0.015 [ShipDate] => 2018-01-19 [InsuredValue] => 11.99 [RectangularShaped] => false ) [unpacked] => Array ( ) [packed] => Array ( [0] => wf_product Object ( [id] => 2928 [length] => 3.5 [width] => 2.5 [height] => 0.015 [weight] => 0.1 [variation_id] => 2928 [obj] => WC_Product_Variation Object ( [post_type:protected] => product_variation [parent_data:protected] => Array ( [title] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118 [manage_stock] => yes [backorders] => [stock_quantity] => 0 [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [tax_class] => [shipping_class_id] => 0 [image_id] => 106648 [purchase_note] => [catalog_visibility] => visible ) [object_type:protected] => product [cache_group:protected] => products [data:protected] => Array ( [name] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) - Near Mint [slug] => alolan-exeggutor-gx-118111-secret-rare-near-mint [date_created] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-06 03:32:15.000000 [timezone_type] => 1 [timezone] => +00:00 ) [date_modified] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-31 18:55:44.000000 [timezone_type] => 1 [timezone] => +00:00 ) [status] => publish [featured] => [catalog_visibility] => visible [description] => Alolan Exeggutor GX secret rare no. 118/111 from the Pokemon: Crimson Invasion expansion. [short_description] => [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118_near_mint [price] => 11.99 [regular_price] => 11.99 [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => 1 [stock_quantity] => 3 [stock_status] => instock [backorders] => [sold_individually] => [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 2923 [reviews_allowed] => [purchase_note] => [attributes] => Array ( [pa_condition] => near_mint ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => 106648 [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [supports:protected] => Array ( [0] => ajax_add_to_cart ) [id:protected] => 2928 [changes:protected] => Array ( ) [object_read:protected] => 1 [extra_data:protected] => Array ( ) [default_data:protected] => Array ( [name] => [slug] => [date_created] => [date_modified] => [status] => [featured] => [catalog_visibility] => visible [description] => [short_description] => [sku] => [price] => [regular_price] => [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => [stock_quantity] => [stock_status] => instock [backorders] => no [sold_individually] => [weight] => [length] => [width] => [height] => [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 0 [reviews_allowed] => 1 [purchase_note] => [attributes] => Array ( ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [data_store:protected] => WC_Data_Store Object ( [instance:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT Object ( [internal_meta_keys:protected] => Array ( [0] => _visibility [1] => _sku [2] => _price [3] => _regular_price [4] => _sale_price [5] => _sale_price_dates_from [6] => _sale_price_dates_to [7] => total_sales [8] => _tax_status [9] => _tax_class [10] => _manage_stock [11] => _stock [12] => _stock_status [13] => _backorders [14] => _sold_individually [15] => _weight [16] => _length [17] => _width [18] => _height [19] => _upsell_ids [20] => _crosssell_ids [21] => _purchase_note [22] => _default_attributes [23] => _product_attributes [24] => _virtual [25] => _downloadable [26] => _download_limit [27] => _download_expiry [28] => _featured [29] => _downloadable_files [30] => _wc_rating_count [31] => _wc_average_rating [32] => _wc_review_count [33] => _variation_description [34] => _thumbnail_id [35] => _file_paths [36] => _product_image_gallery [37] => _product_version [38] => _wp_old_slug [39] => _edit_last [40] => _edit_lock ) [extra_data_saved:protected] => [updated_props:protected] => Array ( ) [meta_type:protected] => post [object_id_field_for_meta:protected] => ) [stores:WC_Data_Store:private] => Array ( [coupon] => WC_Coupon_Data_Store_CPT [customer] => WC_Customer_Data_Store [customer-download] => WC_Customer_Download_Data_Store [customer-session] => WC_Customer_Data_Store_Session [order] => WC_Order_Data_Store_CPT [order-refund] => WC_Order_Refund_Data_Store_CPT [order-item] => WC_Order_Item_Data_Store [order-item-coupon] => WC_Order_Item_Coupon_Data_Store [order-item-fee] => WC_Order_Item_Fee_Data_Store [order-item-product] => WC_Order_Item_Product_Data_Store [order-item-shipping] => WC_Order_Item_Shipping_Data_Store [order-item-tax] => WC_Order_Item_Tax_Data_Store [payment-token] => WC_Payment_Token_Data_Store [product] => WC_Product_Data_Store_CPT [product-grouped] => WC_Product_Grouped_Data_Store_CPT [product-variable] => WC_Product_Variable_Data_Store_CPT [product-variation] => WC_Product_Variation_Data_Store_CPT [shipping-zone] => WC_Shipping_Zone_Data_Store ) [current_class_name:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT [object_type:WC_Data_Store:private] => product-variation ) [meta_data:protected] => ) [wc_version] => 3.2.6 ) ) ) [quantity] => 3 ) ) ) [6] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-shipping-method.php [line] => 207 [function] => calculate_shipping [class] => WF_Easypost [type] => -> [args] => Array ( [0] => Array ( [contents] => Array ( [7b0cca6f0338fe361eb1b6b8bbfcf213] => Array ( [key] => 7b0cca6f0338fe361eb1b6b8bbfcf213 [product_id] => 2923 [variation_id] => 2928 [variation] => Array ( [attribute_pa_condition] => near_mint ) [quantity] => 3 [line_tax_data] => Array ( [subtotal] => Array ( ) [total] => Array ( ) ) [line_subtotal] => 35.97 [line_subtotal_tax] => 0 [line_total] => 35.97 [line_tax] => 0 [data] => WC_Product_Variation Object ( [post_type:protected] => product_variation [parent_data:protected] => Array ( [title] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118 [manage_stock] => yes [backorders] => [stock_quantity] => 0 [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [tax_class] => [shipping_class_id] => 0 [image_id] => 106648 [purchase_note] => [catalog_visibility] => visible ) [object_type:protected] => product [cache_group:protected] => products [data:protected] => Array ( [name] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) - Near Mint [slug] => alolan-exeggutor-gx-118111-secret-rare-near-mint [date_created] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-06 03:32:15.000000 [timezone_type] => 1 [timezone] => +00:00 ) [date_modified] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-31 18:55:44.000000 [timezone_type] => 1 [timezone] => +00:00 ) [status] => publish [featured] => [catalog_visibility] => visible [description] => Alolan Exeggutor GX secret rare no. 118/111 from the Pokemon: Crimson Invasion expansion. [short_description] => [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118_near_mint [price] => 11.99 [regular_price] => 11.99 [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => 1 [stock_quantity] => 3 [stock_status] => instock [backorders] => [sold_individually] => [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 2923 [reviews_allowed] => [purchase_note] => [attributes] => Array ( [pa_condition] => near_mint ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => 106648 [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [supports:protected] => Array ( [0] => ajax_add_to_cart ) [id:protected] => 2928 [changes:protected] => Array ( ) [object_read:protected] => 1 [extra_data:protected] => Array ( ) [default_data:protected] => Array ( [name] => [slug] => [date_created] => [date_modified] => [status] => [featured] => [catalog_visibility] => visible [description] => [short_description] => [sku] => [price] => [regular_price] => [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => [stock_quantity] => [stock_status] => instock [backorders] => no [sold_individually] => [weight] => [length] => [width] => [height] => [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 0 [reviews_allowed] => 1 [purchase_note] => [attributes] => Array ( ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [data_store:protected] => WC_Data_Store Object ( [instance:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT Object ( [internal_meta_keys:protected] => Array ( [0] => _visibility [1] => _sku [2] => _price [3] => _regular_price [4] => _sale_price [5] => _sale_price_dates_from [6] => _sale_price_dates_to [7] => total_sales [8] => _tax_status [9] => _tax_class [10] => _manage_stock [11] => _stock [12] => _stock_status [13] => _backorders [14] => _sold_individually [15] => _weight [16] => _length [17] => _width [18] => _height [19] => _upsell_ids [20] => _crosssell_ids [21] => _purchase_note [22] => _default_attributes [23] => _product_attributes [24] => _virtual [25] => _downloadable [26] => _download_limit [27] => _download_expiry [28] => _featured [29] => _downloadable_files [30] => _wc_rating_count [31] => _wc_average_rating [32] => _wc_review_count [33] => _variation_description [34] => _thumbnail_id [35] => _file_paths [36] => _product_image_gallery [37] => _product_version [38] => _wp_old_slug [39] => _edit_last [40] => _edit_lock ) [extra_data_saved:protected] => [updated_props:protected] => Array ( ) [meta_type:protected] => post [object_id_field_for_meta:protected] => ) [stores:WC_Data_Store:private] => Array ( [coupon] => WC_Coupon_Data_Store_CPT [customer] => WC_Customer_Data_Store [customer-download] => WC_Customer_Download_Data_Store [customer-session] => WC_Customer_Data_Store_Session [order] => WC_Order_Data_Store_CPT [order-refund] => WC_Order_Refund_Data_Store_CPT [order-item] => WC_Order_Item_Data_Store [order-item-coupon] => WC_Order_Item_Coupon_Data_Store [order-item-fee] => WC_Order_Item_Fee_Data_Store [order-item-product] => WC_Order_Item_Product_Data_Store [order-item-shipping] => WC_Order_Item_Shipping_Data_Store [order-item-tax] => WC_Order_Item_Tax_Data_Store [payment-token] => WC_Payment_Token_Data_Store [product] => WC_Product_Data_Store_CPT [product-grouped] => WC_Product_Grouped_Data_Store_CPT [product-variable] => WC_Product_Variable_Data_Store_CPT [product-variation] => WC_Product_Variation_Data_Store_CPT [shipping-zone] => WC_Shipping_Zone_Data_Store ) [current_class_name:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT [object_type:WC_Data_Store:private] => product-variation ) [meta_data:protected] => ) ) ) [contents_cost] => 35.97 [applied_coupons] => Array ( ) [user] => Array ( [ID] => 1 ) [destination] => Array ( [country] => US [state] => NY [postcode] => 10301 [city] => [address] => [address_2] => ) [cart_subtotal] => 35.97 [rates] => Array ( ) ) ) ) [7] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-shipping.php [line] => 333 [function] => get_rates_for_package [class] => WC_Shipping_Method [type] => -> [args] => Array ( [0] => Array ( [contents] => Array ( [7b0cca6f0338fe361eb1b6b8bbfcf213] => Array ( [key] => 7b0cca6f0338fe361eb1b6b8bbfcf213 [product_id] => 2923 [variation_id] => 2928 [variation] => Array ( [attribute_pa_condition] => near_mint ) [quantity] => 3 [line_tax_data] => Array ( [subtotal] => Array ( ) [total] => Array ( ) ) [line_subtotal] => 35.97 [line_subtotal_tax] => 0 [line_total] => 35.97 [line_tax] => 0 [data] => WC_Product_Variation Object ( [post_type:protected] => product_variation [parent_data:protected] => Array ( [title] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118 [manage_stock] => yes [backorders] => [stock_quantity] => 0 [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [tax_class] => [shipping_class_id] => 0 [image_id] => 106648 [purchase_note] => [catalog_visibility] => visible ) [object_type:protected] => product [cache_group:protected] => products [data:protected] => Array ( [name] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) - Near Mint [slug] => alolan-exeggutor-gx-118111-secret-rare-near-mint [date_created] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-06 03:32:15.000000 [timezone_type] => 1 [timezone] => +00:00 ) [date_modified] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-31 18:55:44.000000 [timezone_type] => 1 [timezone] => +00:00 ) [status] => publish [featured] => [catalog_visibility] => visible [description] => Alolan Exeggutor GX secret rare no. 118/111 from the Pokemon: Crimson Invasion expansion. [short_description] => [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118_near_mint [price] => 11.99 [regular_price] => 11.99 [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => 1 [stock_quantity] => 3 [stock_status] => instock [backorders] => [sold_individually] => [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 2923 [reviews_allowed] => [purchase_note] => [attributes] => Array ( [pa_condition] => near_mint ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => 106648 [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [supports:protected] => Array ( [0] => ajax_add_to_cart ) [id:protected] => 2928 [changes:protected] => Array ( ) [object_read:protected] => 1 [extra_data:protected] => Array ( ) [default_data:protected] => Array ( [name] => [slug] => [date_created] => [date_modified] => [status] => [featured] => [catalog_visibility] => visible [description] => [short_description] => [sku] => [price] => [regular_price] => [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => [stock_quantity] => [stock_status] => instock [backorders] => no [sold_individually] => [weight] => [length] => [width] => [height] => [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 0 [reviews_allowed] => 1 [purchase_note] => [attributes] => Array ( ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [data_store:protected] => WC_Data_Store Object ( [instance:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT Object ( [internal_meta_keys:protected] => Array ( [0] => _visibility [1] => _sku [2] => _price [3] => _regular_price [4] => _sale_price [5] => _sale_price_dates_from [6] => _sale_price_dates_to [7] => total_sales [8] => _tax_status [9] => _tax_class [10] => _manage_stock [11] => _stock [12] => _stock_status [13] => _backorders [14] => _sold_individually [15] => _weight [16] => _length [17] => _width [18] => _height [19] => _upsell_ids [20] => _crosssell_ids [21] => _purchase_note [22] => _default_attributes [23] => _product_attributes [24] => _virtual [25] => _downloadable [26] => _download_limit [27] => _download_expiry [28] => _featured [29] => _downloadable_files [30] => _wc_rating_count [31] => _wc_average_rating [32] => _wc_review_count [33] => _variation_description [34] => _thumbnail_id [35] => _file_paths [36] => _product_image_gallery [37] => _product_version [38] => _wp_old_slug [39] => _edit_last [40] => _edit_lock ) [extra_data_saved:protected] => [updated_props:protected] => Array ( ) [meta_type:protected] => post [object_id_field_for_meta:protected] => ) [stores:WC_Data_Store:private] => Array ( [coupon] => WC_Coupon_Data_Store_CPT [customer] => WC_Customer_Data_Store [customer-download] => WC_Customer_Download_Data_Store [customer-session] => WC_Customer_Data_Store_Session [order] => WC_Order_Data_Store_CPT [order-refund] => WC_Order_Refund_Data_Store_CPT [order-item] => WC_Order_Item_Data_Store [order-item-coupon] => WC_Order_Item_Coupon_Data_Store [order-item-fee] => WC_Order_Item_Fee_Data_Store [order-item-product] => WC_Order_Item_Product_Data_Store [order-item-shipping] => WC_Order_Item_Shipping_Data_Store [order-item-tax] => WC_Order_Item_Tax_Data_Store [payment-token] => WC_Payment_Token_Data_Store [product] => WC_Product_Data_Store_CPT [product-grouped] => WC_Product_Grouped_Data_Store_CPT [product-variable] => WC_Product_Variable_Data_Store_CPT [product-variation] => WC_Product_Variation_Data_Store_CPT [shipping-zone] => WC_Shipping_Zone_Data_Store ) [current_class_name:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT [object_type:WC_Data_Store:private] => product-variation ) [meta_data:protected] => ) ) ) [contents_cost] => 35.97 [applied_coupons] => Array ( ) [user] => Array ( [ID] => 1 ) [destination] => Array ( [country] => US [state] => NY [postcode] => 10301 [city] => [address] => [address_2] => ) [cart_subtotal] => 35.97 [rates] => Array ( ) ) ) ) [8] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-shipping.php [line] => 260 [function] => calculate_shipping_for_package [class] => WC_Shipping [type] => -> [args] => Array ( [0] => Array ( [contents] => Array ( [7b0cca6f0338fe361eb1b6b8bbfcf213] => Array ( [key] => 7b0cca6f0338fe361eb1b6b8bbfcf213 [product_id] => 2923 [variation_id] => 2928 [variation] => Array ( [attribute_pa_condition] => near_mint ) [quantity] => 3 [line_tax_data] => Array ( [subtotal] => Array ( ) [total] => Array ( ) ) [line_subtotal] => 35.97 [line_subtotal_tax] => 0 [line_total] => 35.97 [line_tax] => 0 [data] => WC_Product_Variation Object ( [post_type:protected] => product_variation [parent_data:protected] => Array ( [title] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118 [manage_stock] => yes [backorders] => [stock_quantity] => 0 [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [tax_class] => [shipping_class_id] => 0 [image_id] => 106648 [purchase_note] => [catalog_visibility] => visible ) [object_type:protected] => product [cache_group:protected] => products [data:protected] => Array ( [name] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) - Near Mint [slug] => alolan-exeggutor-gx-118111-secret-rare-near-mint [date_created] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-06 03:32:15.000000 [timezone_type] => 1 [timezone] => +00:00 ) [date_modified] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-31 18:55:44.000000 [timezone_type] => 1 [timezone] => +00:00 ) [status] => publish [featured] => [catalog_visibility] => visible [description] => Alolan Exeggutor GX secret rare no. 118/111 from the Pokemon: Crimson Invasion expansion. [short_description] => [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118_near_mint [price] => 11.99 [regular_price] => 11.99 [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => 1 [stock_quantity] => 3 [stock_status] => instock [backorders] => [sold_individually] => [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 2923 [reviews_allowed] => [purchase_note] => [attributes] => Array ( [pa_condition] => near_mint ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => 106648 [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [supports:protected] => Array ( [0] => ajax_add_to_cart ) [id:protected] => 2928 [changes:protected] => Array ( ) [object_read:protected] => 1 [extra_data:protected] => Array ( ) [default_data:protected] => Array ( [name] => [slug] => [date_created] => [date_modified] => [status] => [featured] => [catalog_visibility] => visible [description] => [short_description] => [sku] => [price] => [regular_price] => [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => [stock_quantity] => [stock_status] => instock [backorders] => no [sold_individually] => [weight] => [length] => [width] => [height] => [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 0 [reviews_allowed] => 1 [purchase_note] => [attributes] => Array ( ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [data_store:protected] => WC_Data_Store Object ( [instance:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT Object ( [internal_meta_keys:protected] => Array ( [0] => _visibility [1] => _sku [2] => _price [3] => _regular_price [4] => _sale_price [5] => _sale_price_dates_from [6] => _sale_price_dates_to [7] => total_sales [8] => _tax_status [9] => _tax_class [10] => _manage_stock [11] => _stock [12] => _stock_status [13] => _backorders [14] => _sold_individually [15] => _weight [16] => _length [17] => _width [18] => _height [19] => _upsell_ids [20] => _crosssell_ids [21] => _purchase_note [22] => _default_attributes [23] => _product_attributes [24] => _virtual [25] => _downloadable [26] => _download_limit [27] => _download_expiry [28] => _featured [29] => _downloadable_files [30] => _wc_rating_count [31] => _wc_average_rating [32] => _wc_review_count [33] => _variation_description [34] => _thumbnail_id [35] => _file_paths [36] => _product_image_gallery [37] => _product_version [38] => _wp_old_slug [39] => _edit_last [40] => _edit_lock ) [extra_data_saved:protected] => [updated_props:protected] => Array ( ) [meta_type:protected] => post [object_id_field_for_meta:protected] => ) [stores:WC_Data_Store:private] => Array ( [coupon] => WC_Coupon_Data_Store_CPT [customer] => WC_Customer_Data_Store [customer-download] => WC_Customer_Download_Data_Store [customer-session] => WC_Customer_Data_Store_Session [order] => WC_Order_Data_Store_CPT [order-refund] => WC_Order_Refund_Data_Store_CPT [order-item] => WC_Order_Item_Data_Store [order-item-coupon] => WC_Order_Item_Coupon_Data_Store [order-item-fee] => WC_Order_Item_Fee_Data_Store [order-item-product] => WC_Order_Item_Product_Data_Store [order-item-shipping] => WC_Order_Item_Shipping_Data_Store [order-item-tax] => WC_Order_Item_Tax_Data_Store [payment-token] => WC_Payment_Token_Data_Store [product] => WC_Product_Data_Store_CPT [product-grouped] => WC_Product_Grouped_Data_Store_CPT [product-variable] => WC_Product_Variable_Data_Store_CPT [product-variation] => WC_Product_Variation_Data_Store_CPT [shipping-zone] => WC_Shipping_Zone_Data_Store ) [current_class_name:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT [object_type:WC_Data_Store:private] => product-variation ) [meta_data:protected] => ) ) ) [contents_cost] => 35.97 [applied_coupons] => Array ( ) [user] => Array ( [ID] => 1 ) [destination] => Array ( [country] => US [state] => NY [postcode] => 10301 [city] => [address] => [address_2] => ) [cart_subtotal] => 35.97 [rates] => Array ( ) ) [1] => 0 ) ) [9] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-cart.php [line] => 1270 [function] => calculate_shipping [class] => WC_Shipping [type] => -> [args] => Array ( [0] => Array ( [0] => Array ( [contents] => Array ( [7b0cca6f0338fe361eb1b6b8bbfcf213] => Array ( [key] => 7b0cca6f0338fe361eb1b6b8bbfcf213 [product_id] => 2923 [variation_id] => 2928 [variation] => Array ( [attribute_pa_condition] => near_mint ) [quantity] => 3 [line_tax_data] => Array ( [subtotal] => Array ( ) [total] => Array ( ) ) [line_subtotal] => 35.97 [line_subtotal_tax] => 0 [line_total] => 35.97 [line_tax] => 0 [data] => WC_Product_Variation Object ( [post_type:protected] => product_variation [parent_data:protected] => Array ( [title] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118 [manage_stock] => yes [backorders] => [stock_quantity] => 0 [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [tax_class] => [shipping_class_id] => 0 [image_id] => 106648 [purchase_note] => [catalog_visibility] => visible ) [object_type:protected] => product [cache_group:protected] => products [data:protected] => Array ( [name] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) - Near Mint [slug] => alolan-exeggutor-gx-118111-secret-rare-near-mint [date_created] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-06 03:32:15.000000 [timezone_type] => 1 [timezone] => +00:00 ) [date_modified] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-31 18:55:44.000000 [timezone_type] => 1 [timezone] => +00:00 ) [status] => publish [featured] => [catalog_visibility] => visible [description] => Alolan Exeggutor GX secret rare no. 118/111 from the Pokemon: Crimson Invasion expansion. [short_description] => [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118_near_mint [price] => 11.99 [regular_price] => 11.99 [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => 1 [stock_quantity] => 3 [stock_status] => instock [backorders] => [sold_individually] => [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 2923 [reviews_allowed] => [purchase_note] => [attributes] => Array ( [pa_condition] => near_mint ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => 106648 [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [supports:protected] => Array ( [0] => ajax_add_to_cart ) [id:protected] => 2928 [changes:protected] => Array ( ) [object_read:protected] => 1 [extra_data:protected] => Array ( ) [default_data:protected] => Array ( [name] => [slug] => [date_created] => [date_modified] => [status] => [featured] => [catalog_visibility] => visible [description] => [short_description] => [sku] => [price] => [regular_price] => [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => [stock_quantity] => [stock_status] => instock [backorders] => no [sold_individually] => [weight] => [length] => [width] => [height] => [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 0 [reviews_allowed] => 1 [purchase_note] => [attributes] => Array ( ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [data_store:protected] => WC_Data_Store Object ( [instance:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT Object ( [internal_meta_keys:protected] => Array ( [0] => _visibility [1] => _sku [2] => _price [3] => _regular_price [4] => _sale_price [5] => _sale_price_dates_from [6] => _sale_price_dates_to [7] => total_sales [8] => _tax_status [9] => _tax_class [10] => _manage_stock [11] => _stock [12] => _stock_status [13] => _backorders [14] => _sold_individually [15] => _weight [16] => _length [17] => _width [18] => _height [19] => _upsell_ids [20] => _crosssell_ids [21] => _purchase_note [22] => _default_attributes [23] => _product_attributes [24] => _virtual [25] => _downloadable [26] => _download_limit [27] => _download_expiry [28] => _featured [29] => _downloadable_files [30] => _wc_rating_count [31] => _wc_average_rating [32] => _wc_review_count [33] => _variation_description [34] => _thumbnail_id [35] => _file_paths [36] => _product_image_gallery [37] => _product_version [38] => _wp_old_slug [39] => _edit_last [40] => _edit_lock ) [extra_data_saved:protected] => [updated_props:protected] => Array ( ) [meta_type:protected] => post [object_id_field_for_meta:protected] => ) [stores:WC_Data_Store:private] => Array ( [coupon] => WC_Coupon_Data_Store_CPT [customer] => WC_Customer_Data_Store [customer-download] => WC_Customer_Download_Data_Store [customer-session] => WC_Customer_Data_Store_Session [order] => WC_Order_Data_Store_CPT [order-refund] => WC_Order_Refund_Data_Store_CPT [order-item] => WC_Order_Item_Data_Store [order-item-coupon] => WC_Order_Item_Coupon_Data_Store [order-item-fee] => WC_Order_Item_Fee_Data_Store [order-item-product] => WC_Order_Item_Product_Data_Store [order-item-shipping] => WC_Order_Item_Shipping_Data_Store [order-item-tax] => WC_Order_Item_Tax_Data_Store [payment-token] => WC_Payment_Token_Data_Store [product] => WC_Product_Data_Store_CPT [product-grouped] => WC_Product_Grouped_Data_Store_CPT [product-variable] => WC_Product_Variable_Data_Store_CPT [product-variation] => WC_Product_Variation_Data_Store_CPT [shipping-zone] => WC_Shipping_Zone_Data_Store ) [current_class_name:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT [object_type:WC_Data_Store:private] => product-variation ) [meta_data:protected] => ) ) ) [contents_cost] => 35.97 [applied_coupons] => Array ( ) [user] => Array ( [ID] => 1 ) [destination] => Array ( [country] => US [state] => NY [postcode] => 10301 [city] => [address] => [address_2] => ) [cart_subtotal] => 35.97 ) ) ) ) [10] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php [line] => 345 [function] => calculate_shipping [class] => WC_Cart [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php [line] => 794 [function] => get_shipping_from_cart [class] => WC_Cart_Totals [type] => -> [args] => Array ( ) ) [12] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php [line] => 141 [function] => calculate_shipping_totals [class] => WC_Cart_Totals [type] => -> [args] => Array ( ) ) [13] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-cart-totals.php [line] => 131 [function] => calculate [class] => WC_Cart_Totals [type] => -> [args] => Array ( ) ) [14] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-cart.php [line] => 1248 [function] => __construct [class] => WC_Cart_Totals [type] => -> [args] => Array ( [0] => WC_Cart Object ( [cart_contents] => Array ( [7b0cca6f0338fe361eb1b6b8bbfcf213] => Array ( [key] => 7b0cca6f0338fe361eb1b6b8bbfcf213 [product_id] => 2923 [variation_id] => 2928 [variation] => Array ( [attribute_pa_condition] => near_mint ) [quantity] => 3 [line_tax_data] => Array ( [subtotal] => Array ( ) [total] => Array ( ) ) [line_subtotal] => 35.97 [line_subtotal_tax] => 0 [line_total] => 35.97 [line_tax] => 0 [data] => WC_Product_Variation Object ( [post_type:protected] => product_variation [parent_data:protected] => Array ( [title] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118 [manage_stock] => yes [backorders] => [stock_quantity] => 0 [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [tax_class] => [shipping_class_id] => 0 [image_id] => 106648 [purchase_note] => [catalog_visibility] => visible ) [object_type:protected] => product [cache_group:protected] => products [data:protected] => Array ( [name] => Alolan Exeggutor GX - 118/111 - Crimson Invasion (Secret Rare) - Near Mint [slug] => alolan-exeggutor-gx-118111-secret-rare-near-mint [date_created] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-06 03:32:15.000000 [timezone_type] => 1 [timezone] => +00:00 ) [date_modified] => WC_DateTime Object ( [utc_offset:protected] => 0 [date] => 2017-12-31 18:55:44.000000 [timezone_type] => 1 [timezone] => +00:00 ) [status] => publish [featured] => [catalog_visibility] => visible [description] => Alolan Exeggutor GX secret rare no. 118/111 from the Pokemon: Crimson Invasion expansion. [short_description] => [sku] => pokemon_eng_sm4_alolan_exeggutor_gx_118_near_mint [price] => 11.99 [regular_price] => 11.99 [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => 1 [stock_quantity] => 3 [stock_status] => instock [backorders] => [sold_individually] => [weight] => 0.1 [length] => 3.5 [width] => 2.5 [height] => 0.015 [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 2923 [reviews_allowed] => [purchase_note] => [attributes] => Array ( [pa_condition] => near_mint ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => 106648 [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [supports:protected] => Array ( [0] => ajax_add_to_cart ) [id:protected] => 2928 [changes:protected] => Array ( ) [object_read:protected] => 1 [extra_data:protected] => Array ( ) [default_data:protected] => Array ( [name] => [slug] => [date_created] => [date_modified] => [status] => [featured] => [catalog_visibility] => visible [description] => [short_description] => [sku] => [price] => [regular_price] => [sale_price] => [date_on_sale_from] => [date_on_sale_to] => [total_sales] => 0 [tax_status] => taxable [tax_class] => [manage_stock] => [stock_quantity] => [stock_status] => instock [backorders] => no [sold_individually] => [weight] => [length] => [width] => [height] => [upsell_ids] => Array ( ) [cross_sell_ids] => Array ( ) [parent_id] => 0 [reviews_allowed] => 1 [purchase_note] => [attributes] => Array ( ) [default_attributes] => Array ( ) [menu_order] => 0 [virtual] => [downloadable] => [category_ids] => Array ( ) [tag_ids] => Array ( ) [shipping_class_id] => 0 [downloads] => Array ( ) [image_id] => [gallery_image_ids] => Array ( ) [download_limit] => -1 [download_expiry] => -1 [rating_counts] => Array ( ) [average_rating] => 0 [review_count] => 0 ) [data_store:protected] => WC_Data_Store Object ( [instance:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT Object ( [internal_meta_keys:protected] => Array ( [0] => _visibility [1] => _sku [2] => _price [3] => _regular_price [4] => _sale_price [5] => _sale_price_dates_from [6] => _sale_price_dates_to [7] => total_sales [8] => _tax_status [9] => _tax_class [10] => _manage_stock [11] => _stock [12] => _stock_status [13] => _backorders [14] => _sold_individually [15] => _weight [16] => _length [17] => _width [18] => _height [19] => _upsell_ids [20] => _crosssell_ids [21] => _purchase_note [22] => _default_attributes [23] => _product_attributes [24] => _virtual [25] => _downloadable [26] => _download_limit [27] => _download_expiry [28] => _featured [29] => _downloadable_files [30] => _wc_rating_count [31] => _wc_average_rating [32] => _wc_review_count [33] => _variation_description [34] => _thumbnail_id [35] => _file_paths [36] => _product_image_gallery [37] => _product_version [38] => _wp_old_slug [39] => _edit_last [40] => _edit_lock ) [extra_data_saved:protected] => [updated_props:protected] => Array ( ) [meta_type:protected] => post [object_id_field_for_meta:protected] => ) [stores:WC_Data_Store:private] => Array ( [coupon] => WC_Coupon_Data_Store_CPT [customer] => WC_Customer_Data_Store [customer-download] => WC_Customer_Download_Data_Store [customer-session] => WC_Customer_Data_Store_Session [order] => WC_Order_Data_Store_CPT [order-refund] => WC_Order_Refund_Data_Store_CPT [order-item] => WC_Order_Item_Data_Store [order-item-coupon] => WC_Order_Item_Coupon_Data_Store [order-item-fee] => WC_Order_Item_Fee_Data_Store [order-item-product] => WC_Order_Item_Product_Data_Store [order-item-shipping] => WC_Order_Item_Shipping_Data_Store [order-item-tax] => WC_Order_Item_Tax_Data_Store [payment-token] => WC_Payment_Token_Data_Store [product] => WC_Product_Data_Store_CPT [product-grouped] => WC_Product_Grouped_Data_Store_CPT [product-variable] => WC_Product_Variable_Data_Store_CPT [product-variation] => WC_Product_Variation_Data_Store_CPT [shipping-zone] => WC_Shipping_Zone_Data_Store ) [current_class_name:WC_Data_Store:private] => WC_Product_Variation_Data_Store_CPT [object_type:WC_Data_Store:private] => product-variation ) [meta_data:protected] => ) ) ) [removed_cart_contents] => Array ( ) [applied_coupons] => Array ( ) [tax_display_cart] => excl [shipping_methods:protected] => Array ( ) [default_totals:protected] => Array ( [subtotal] => 0 [subtotal_tax] => 0 [shipping_total] => 0 [shipping_tax] => 0 [shipping_taxes] => Array ( ) [discount_total] => 0 [discount_tax] => 0 [cart_contents_total] => 0 [cart_contents_tax] => 0 [cart_contents_taxes] => Array ( ) [fee_total] => 0 [fee_tax] => 0 [fee_taxes] => Array ( ) [total] => 0 [total_tax] => 0 ) [totals:protected] => Array ( [subtotal] => 35.97 [subtotal_tax] => 0 [shipping_total] => 0 [shipping_tax] => 0 [shipping_taxes] => Array ( ) [discount_total] => 0 [discount_tax] => 0 [cart_contents_total] => 35.97 [cart_contents_tax] => 0 [cart_contents_taxes] => Array ( ) [fee_total] => 0 [fee_tax] => 0 [fee_taxes] => Array ( ) [total] => 0 [total_tax] => 0 ) [session:protected] => WC_Cart_Session Object ( [cart:protected] => WC_Cart Object *RECURSION* ) [fees_api:protected] => WC_Cart_Fees Object ( [fees:WC_Cart_Fees:private] => Array ( ) [cart:WC_Cart_Fees:private] => WC_Cart Object *RECURSION* [default_fee_props:WC_Cart_Fees:private] => Array ( [id] => [name] => [tax_class] => [taxable] => [amount] => 0 [total] => 0 ) ) [cart_session_data] => Array ( [cart_contents_total] => 0 [total] => 0 [subtotal] => 0 [subtotal_ex_tax] => 0 [tax_total] => 0 [taxes] => Array ( ) [shipping_taxes] => Array ( ) [discount_cart] => 0 [discount_cart_tax] => 0 [shipping_total] => 0 [shipping_tax_total] => 0 [coupon_discount_amounts] => Array ( ) [coupon_discount_tax_amounts] => Array ( ) [fee_total] => 0 [fees] => Array ( ) ) [coupon_applied_count] => Array ( ) [coupon_discount_totals] => Array ( ) [coupon_discount_tax_totals] => Array ( ) ) ) ) [15] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-cart.php [line] => 75 [function] => calculate_totals [class] => WC_Cart [type] => -> [args] => Array ( ) ) [16] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php [line] => 76 [function] => output [class] => WC_Shortcode_Cart [type] => :: [args] => Array ( [0] => Array ( ) ) ) [17] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php [line] => 89 [function] => shortcode_wrapper [class] => WC_Shortcodes [type] => :: [args] => Array ( [0] => Array ( [0] => WC_Shortcode_Cart [1] => output ) ) ) [18] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/shortcodes.php [line] => 319 [function] => cart [class] => WC_Shortcodes [type] => :: [args] => Array ( [0] => [1] => [2] => woocommerce_cart ) ) [19] => Array ( [function] => do_shortcode_tag [args] => Array ( [0] => Array ( [0] => [woocommerce_cart] [1] => [2] => woocommerce_cart [3] => [4] => [5] => [6] => ) ) ) [20] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/shortcodes.php [line] => 197 [function] => preg_replace_callback [args] => Array ( [0] => /\[(\[?)(woocommerce_cart)(?![\w-])([^\]\/]*(?:\/(?!\])[^\]\/]*)*?)(?:(\/)\]|\](?:([^\[]*+(?:\[(?!\/\2\])[^\[]*+)*+)\[\/\2\])?)(\]?)/ [1] => do_shortcode_tag [2] => [woocommerce_cart] ) ) [21] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/class-wp-hook.php [line] => 286 [function] => do_shortcode [args] => Array ( [0] => [woocommerce_cart] ) ) [22] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/plugin.php [line] => 203 [function] => apply_filters [class] => WP_Hook [type] => -> [args] => Array ( [0] => [woocommerce_cart] [1] => Array ( [0] => [woocommerce_cart] ) ) ) [23] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/post-template.php [line] => 240 [function] => apply_filters [args] => Array ( [0] => the_content [1] => [woocommerce_cart] ) ) [24] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/themes/woodmart/page.php [line] => 28 [function] => the_content [args] => Array ( ) ) [25] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/template-loader.php [line] => 74 [args] => Array ( [0] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-content/themes/woodmart/page.php ) [function] => include ) [26] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-blog-header.php [line] => 19 [args] => Array ( [0] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-includes/template-loader.php ) [function] => require_once ) [27] => Array ( [file] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/index.php [line] => 17 [args] => Array ( [0] => /homepages/24/d674203039/htdocs/clickandbuilds/Holofoiled/wp-blog-header.php ) [function] => require ) ) [previous:Exception:private] => [httpStatus] => 422 [httpBody] => {"error":{"code":"SHIPMENT.CREATE.ERROR","message":"Validation failed: Weight must be greater than 0","errors":[]}} [jsonBody] => Array ( [error] => Array ( [code] => SHIPMENT.CREATE.ERROR [message] => Validation failed: Weight must be greater than 0 [errors] => Array ( ) ) ) [param] => [errors] => [ecode] => SHIPMENT.CREATE.ERROR ) Easypost.com - No rated returned from API.

    Thread Starter tekhnologica

    (@tekhnologica)

    A little bit more info:

    I put a 13oz item into the cart and the shipping rates given were:

    First-Class Mail: $3.88
    Priority Mail: $6.37

    Seems OK.

    Then, I put two of these items into the cart and the shipping rates given were:

    First-Class Mail: $7.76
    Priority Mail: $12.74

    All it appeared to do was double the rates from before, and First-Class Mail shouldn’t appear at all because this is a 26oz order.

    I then added three of these items to the cart, and sure enough it just tripled the rates to:

    First-Class Mail: $11.64
    Priority Mail: $19.11

    Any idea why I might be having all of these problems?

    Hi,

    The reason you’re getting the first class even after adding two or more items, and the rates doubling up after adding items is because in the free version of the plugin we only have one packing option, ie, to pack items individually, so each item you add to cart will be sent as a separate package and shipping will be charged separately for each package, hence the weight and shipping charge for each package is individual.

    If you want to pack these items together you need a different packing option, but “pack into boxes with weight and dimension” for multiple items is available only with the premium version of the plugin.

    Let me know if you have any questions.

    Regards,

    Thread Starter tekhnologica

    (@tekhnologica)

    Hi,

    Thanks. I can understand that, but do you know why the plugin was calculating a weight of 0 as asked before? I would invest in the premium plugin, but not if that issue is present.

    Let me know.

    Hi,

    That could be because the product didn’t reach a minimal weight for the plugin to calculate, the weight is rounded to the nearest value and if the minimal weight is not reached it will round the value to zero. ‘

    Or some of the products in cart could be missing weight hence the weight of the package could be zero.

    Regards,

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Incorrect Shipping Totals’ is closed to new replies.