------------------------------------------------------------------------------------
  Ship In Cart 7.0 Phoenix Cart
  by @raiwa
  raiwa@phoenixcartaddons.com
  www.phoenixcartaddons.com

  Copyright (c) 2022: Rainer Schmied - @raiwa

  Designed for:
  CE Phoenix, E-Commerce made Easy
  https://phoenixcart.org

  Copyright (c) 2021 Phoenix Cart

  Compatibility:
  Phoenix Cart 1.0.9.7+
  Tested with Phoenix 1.0.9.9
  Tested with bootstrap5 template
  PHP: 7.3 - 8.3

Changes Vers. 7.0:
  - Added support for bootstrap5 template
  - Tested with Phoenix 1.0.9.9
  
Update from previous versions:
- upload and replace all files.

Changes Vers. 6.4:
  - Tested for Phoenix 1.0.9.4 and PHP 8.3
  - Updated modules template width classes to match core coding for Phoenix 1.0.9.4+
  
Update from previous versions:
- upload and replace all files.

Changes Vers. 6.3:
  - Tested for Phoenix 1.0.9.1 and PHP 8.2
  - Updated legacy "$GLOBALS['oscTemplate']->addBlock" to "$GLOBALS['Template']->add_block"
  
Update from previous versions:
- upload and replace all files.

Changes Vers. 6.2:
  - Tested for Phoenix 1.0.8.21 and PHP 8.2
  - Fixed undefined warnings for some shipping modules and ship in cart settings
  
Update from previous versions:
- upload and replace all files.

  Changes Vers. 6.1:
  - Added support for no default selected module option
  
Update from previous versions:
- upload and replace all files.

Changes Vers. 6.0:
  - Updated all coding to match actual core.
  - Moved all output to template.
  - Fixed some glitches and undefined errors for virtual orders
  - Added specific free shipping info for virtual orders

  Update from previous versions:
- upload and replace all files.

  If you are on Phoenix 1.0.8.6 - 1.0.8.12, upload and replace the file included in "legacy_Phoenix_1.0.8.6-1.0.8.12":
  - templates/default/includes/pages/checkout_shipping.php
  This fixes the shipping method not showing checked in checkout_shipping.php
  The fix should be already included in Phoenix 1.0.8.13+

Changes Vers. 5.6:
  - Fixed tax description undefined notice error. Thanks to @beerbee.
  - Updated naming and Copyright info.

  Update from previous versions:
- upload and replace all files.

Changes Vers. 5.5:
  - Fixed wrong constant for default zip. Thanks to @beerbee.
  - tested with Phoenix 1.0.7.16 final release.

  Update from previous versions:
- upload and replace: includes/modules/content/shopping_cart/cm_sc_shipping.php

Changes Vers. 5.4:
  - Added state index for not logged in users to be compatible with some shipping modules which use it.
  - tested with Phoenix 1.0.7.14 final release.

Changes Vers. 5.3:
  - Added optional City input required for some shipping modules.
  - Fixed wrong cart global to session.
  - tested with Phoenix 1.0.7.13 and 1.0.7.14 pre release.

Update from previous versions:
- uninstall: Admin : Modules : Content : Shipping estimator[shopping_cart]
- upload and replace: includes/modules/content/shopping_cart/cm_sc_shipping.php
- install: Admin : Modules : Content : Shipping estimator[shopping_cart]
- adjust the settings again for your needs

Changes Vers. 5.2:
  - Fixed notice error. Thanks to @14steve14
  - Updated for actual Phoenix coding standards
  - tested under Phoenix 1.0.7.11 and PHP 7.4

Update from previous versions: upload and replace all files

Changes Vers. 5.1:
  - Update for Phoenix 1.0.5.1+
  - Modules updated to abstract_executable_module
  - Support for customer class and data added
  - Coding updated to Phoenix 1.0.7.0+ standards
  - Deprecated alternative shopping cart product listing module

Changes Vers. 5.0:
  - Update for Phoenix 1.0.x.x
  - html code moved to template

Changes Vers. 4.4:
  - Fixed shipping method selection if only one module with several methods installed. Thanks to @kanhsu

Changes Vers. 4.3:
  - Added support for shipping module icons
  - Moved script and inline styles to correct place to avoid header already sent error
  - Cleaned up code and fixed undefined errors

Changes Vers. 4.2:
  - fix for virtual products show correct tax and blank billing address in checkout_payment.php in certain circunstances.
    thanks to @inra311 for the report and testing

Changes Vers. 4.1:
  - added support for store setting "Display Prices with Tax". Prices and order subtotal will be updated depending on selected shipping country and zone.
    thanks to @inra311 for the suggestion

Changes Vers. 4.0:
  - updated to 2.3.4.1. CE Frozen
  - Updated template name to 2.3.4.1 CE Frozen naming standard
  - Updated include template to 2.3.4.1 CE Frozen auto filename.
  - Hide message no shipping mwethod available for virtual carts
  - Hide shipping address for logged in users if virtual cart

Changes Vers. 3.7:
  - Removed http client for compatibility with 2.3.4 EDGE from 2017_03_26. Thanks to @marcello

  Changes Vers. 3.6:
  - Changed hardcoded text "please select" to language constant in state dropdown.

  Changes Vers. 3.5:
  - Added session register $cart_zone and $cart_zip_code for first timers to ensure shipping modules which are using ZIP codes load correct. Thanks to @spidometrs for the report

  Changes Vers. 3.4r1:
  - <br><br> removed in shipping module for correct align with order totals module. Thanks to @Lioelx for the report

  Changes  Vers. 3.4:
  - fix for to show country, state, postcode and update block if no shipping options are available.
  - fix for to show no shipping options available message.
  Thanks to @spidometrs for the report

  Changes  Vers. 3.3:
  - compatibility fix for virtual products
  - hardcoded filenames, database tables and paths. Superglobals.



   Released under the GNU General Public License

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

------------------------------------------------------------------------------------

If you appreciate all the hard work we put into the mods, please consider donating to:
Version 2.3.0-6.2 @raiwa: raiwa@phoenixcartaddons.com


=================================================================
::: SUPPORT :::
=================================================================

Support Thread: https://phoenixcart.org/forum/app.php/addons/free_addon/ship_in_cart/support

=================================================================
::: DESCRIPTION :::
=================================================================

It is separated in 2 modules:
Estimated Shipping and Estimated Order Totals

Both modules can be easy added to the Shopping Cart.
Support for previous CE versions (EDGE BS3, FROZEN, GOLD) has been removed.

=================================================================
::: INSTRUCTIONS :::
=================================================================

(1) Copy all included new folders including content to the appropriate directories.
These will not overwrite any existing files unless you have previously
installed a version of this mod.

If you are on Phoenix 1.0.8.6 - 1.0.8.12, upload and replace the file included in "legacy_Phoenix_1.0.8.6-1.0.8.12":
- templates/default/includes/pages/checkout_shipping.php
This fixes the shipping method not showing checked in checkout_shipping.php
The fix should be already included in Phoenix 1.0.8.13+

=================================================================

(2)  Go to:
Admin => Modules => click "Install Module" => select "Shipping Estimator [shopping_cart] => click "Install Module"
Admin => Modules => click "Install Module" => select "Order Totals estimator [shopping_cart] => click "Install Module"

Choose the apropiate settings for your needs.

IMPORTANT: The Order Totals Estimator module must be the last module in the sort order of all shopping cart modules to work correct.
(Except for the "No Products" and "Out Of Stock" messages).


**********************************************************************************************************************************************************


That's it



