Community Forums 

Main Content

Shipping message

    Nov 15 2011 19:28:59

    #1

    Nigel B

    Join date : 2009-10-14      Posts : 64

    I am trying to remove the standard shipping message in advanced shipping that says..

    If you change or add to your order, click on the Add shipping button to calculate the new cost of shipping.

    I successfully removed a similar message from another site but not this one. I have tried the below script but it doesnt work...

    <script>function x(){document.body.innerHTML=document.body.innerHTML.replace(/If you change or add to your order, click on the Add shipping button to calculate the new cost of shipping./gi,"");}onload=x;</script>



    Nov 15 2011 20:49:16

    #2

    Nigel B

    Join date : 2009-10-14      Posts : 64

    OK looks like it must have to many characters. If I shorten it, it works. This means I cant remove the whole sentence. Any ideas



    Nov 15 2011 23:15:30

    #3

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    Can you call the script externally?

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Nov 16 2011 00:22:00

    #4

    Nigel B

    Join date : 2009-10-14      Posts : 64

    Good idea, Debbie Q never thought of it.
    How do I do that ?

    I presume I put up a separate .js page with the script on it. But how do I call it up from Mals ?



    Nov 16 2011 01:43:55

    #5

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    in the same place you were putting the other script put <script src="www.yoursite.com/script.js"></script>; Of course using your info.

    Debbie Q

    Mal's Support: www.mals-e.com/support.php
    GT's Forms and examples: www.malsforms.com
    Helpful java scripts: www.gemasana.com/mals
    Shipping help documents: www.stoner.org.uk/mals

    My Create-A-Book Publishing - mycreateabook.com
    Personalized Books, Music CDs and Gifts for all ages and occasions.

    Please help me out and share my site on your networks.




    Nov 17 2011 05:44:51

    #6

    Nigel B

    Join date : 2009-10-14      Posts : 64

    Thanks Debbie Q