Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    What is calling/connected to my xml file?

    Hello, I'm a content manager who needs to update the xml file which holds my company's shipping prices.

    We had a promotion for free shipping which ended at the beginning of this month. My boss (who went on vacation without explaining this to me) has simply said 'you need to get the xml file called package.xml'.

    So I am on the web server and I have the file package.xml but it has all the prices on it, including the free shipping. I don't understand what is making it use the free prices and not the regular prices, which are all listed in package.xml.

    How would I find the connection to this xml file? Even ideas would be helpful at this point because I have no prior experience with updating XMLs or how they are called, etc, but the COO of my company has said that the problem needs to be resolved today.

    Any help will be much appreciated. Copy of the file below:


    <?xml version="1.0" encoding="utf-8" ?>
    <Packages>
    <Package>
    <ID>1</ID>
    <Name>Wet Ice</Name>
    <Price>40</Price>
    <Discount>5</Discount>
    <ShipTypes>
    <ShipType Carrier ="FedEx-Priority1" Weight ="0-4" Price="70" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="4-10" Price="85" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="11-15" Price="100" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="16-20" Price="115" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="21-25" Price="135" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="26-30" Price="145" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="31-35" Price="155" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="36-40" Price="160" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="41-50" Price="170" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="51-500" Price="250" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1_Free" Weight ="0-500" Price="0" ></ShipType>
    </ShipTypes>
    </Package>
    <Package>
    <ID>2</ID>
    <Name>Ambient</Name>
    <Price>35</Price>
    <Discount>0</Discount>
    <ShipTypes>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="0-1" Price="40" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="2" Price="38" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="3" Price="40" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="4" Price="42" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="5" Price="44" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="6" Price="47" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="7" Price="50" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="8" Price="52" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="9-10" Price="55" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="10-50" Price="75" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="51-500" Price="125" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver_Free" Weight ="0-500" Price="0" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="0-1" Price="60" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="2" Price="60" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="3" Price="70" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="4-10" Price="85" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="11-15" Price="100" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="16-20" Price="115" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="21-25" Price="135" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="26-30" Price="145" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="31-35" Price="155" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="36-40" Price="160" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="41-50" Price="170" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="51-500" Price="225" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1_Free" Weight ="0-500" Price="0" ></ShipType>
    <ShipType Carrier ="UPS-Ground" Weight ="0-10" Price="20" ></ShipType>
    <ShipType Carrier ="UPS-Ground" Weight ="11-50" Price="75" ></ShipType>
    <ShipType Carrier ="UPS-Ground" Weight ="51-500" Price="125" ></ShipType>
    <ShipType Carrier ="UPS-Ground_Free" Weight ="0-500" Price="0" ></ShipType>
    </ShipTypes>
    </Package>
    <Package>
    <ID>3</ID>
    <Name>Dry Ice</Name>
    <Price>45</Price>
    <Discount>5</Discount>
    <ShipTypes>
    <ShipType Carrier ="FedEx-Priority1" Weight ="0-4" Price="70" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="4-10" Price="85" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="11-15" Price="100" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="16-20" Price="115" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="21-25" Price="135" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="26-30" Price="145" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="31-35" Price="155" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="36-40" Price="160" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="41-50" Price="170" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1" Weight ="51-500" Price="225" ></ShipType>
    <ShipType Carrier ="FedEx-Priority1_Free" Weight ="0-500" Price="0" ></ShipType>
    </ShipTypes>
    </Package>
    <Package>
    <ID>4</ID>
    <Name>NA</Name>
    <Price>0</Price>
    <Discount>0</Discount>
    <ShipTypes>
    <ShipType Carrier ="FedEx-Priority1" Weight ="0-500" Price="0" ></ShipType>
    <ShipType Carrier ="UPS-Ground" Weight ="0-500" Price="0" ></ShipType>
    <ShipType Carrier ="FedEx-Express-Saver" Weight ="0-500" Price="0" ></ShipType>
    </ShipTypes>
    </Package>
    </Packages>

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,234
    Thanks
    10
    Thanked 270 Times in 269 Posts
    Have you tried just deleting the lines related to free pricing? It could be the code is smart enough to deal with it. Back it up first, of course...

    As far as "who uses this", I'd think a search for "package.xml" through the source files would find it.

    Dave

  • Users who have thanked tracknut for this post:

    IT Andy (07-05-2012)

  • #3
    New to the CF scene
    Join Date
    Jul 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Apparently, there was another xml file, coupon.xml that was controlling this issue. My boss fixed it remotely but again did not explain.

    Here is the xml file, coupon.xml, that needed to be changed to turn off free shipping, this is post change:

    <?xml version="1.0" encoding="utf-8" ?>
    - <Coupons>
    <Coupon Code="FREE-XYZ" ValidFrom="10-11-2011" Validto="12-11-2011" OnlyIfCartTotal="0.00" Enabled="true" />
    </Coupons>

    I do not see what was changed to turn off free shipping, but for now I am off the hot seat.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •