Community Forums 

Main Content

Amend "Purchase details" to "Card Holders Details"

    Mar 17 2015 16:27:52

    #1

    cassie75

    Join date : 2008-09-18      Posts : 273

    I know there is a thread about changing text in the card and have used it to change "Delivery" to "UK Delivery" in one of my carts. But not sure if the same method works for the payments page.

    I have notes in the cart saying the first address must be the Card Holders Details but some customers still don't understand. If I could change "Purchase details" to "Card Holders Details" on the address page then that would help.

    Life is too short to work 8 hours a day - thats why I work 16 :-)




    Mar 17 2015 17:58:41

    #2

    Debbie Q

    Join date : 2008-09-18      Posts : 4994

    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.




    Mar 17 2015 18:20:18

    #3

    cassie75

    Join date : 2008-09-18      Posts : 273

    I could swear I had found all the posts on alternate text, but must have missed that one - thanks Debbie Q

    Got it to work, now just need to add it to my script as it will put me well over the 250 characters.

    I already have one on the js script for uk delivery, any idea how I add the second one as just adding a new line doesn't work. Know nothing much about scripts :-(

    Life is too short to work 8 hours a day - thats why I work 16 :-)




    Mar 17 2015 19:36:06

    #4

    cassie75

    Join date : 2008-09-18      Posts : 273

    just re-read that post you suggested and see they wanted 2 changes too.

    Got it to work :-)

    Problem is - one of the changes has had an unexpected change.

    I wanted the "Delivery" under the Subtotal to say "UK Delivery" as we have a note to say we will email non-uk delivery charges after they order. We thought this might make it more clear.

    Unfortunately it has also change the "Delivery Address" on the address page to "UK Delivery Address". This is not what we needed.

    So is there any other way of making sure only one occurrence is changed?

    Life is too short to work 8 hours a day - thats why I work 16 :-)




    Apr 19 2015 11:16:44

    #5

    cassie75

    Join date : 2008-09-18      Posts : 273

    Just wondered if anyone has a solution to this one :-(

    Life is too short to work 8 hours a day - thats why I work 16 :-)




    Apr 19 2015 12:07:55

    #6

    Geoff

    Join date : 2008-09-18      Posts : 415

    In the script line, gi are flags. g means replace all instances and i means case-insensitive

    So where your line reads /Delivery/gi remove the g. The script will then replace only the first instance on that page.



    May 01 2015 07:55:46

    #7

    cassie75

    Join date : 2008-09-18      Posts : 273

    Geoff said In the script line, gi are flags. g means replace all instances and i means case-insensitive

    So where your line reads /Delivery/gi remove the g. The script will then replace only the first instance on that page.


    Thank you so much. Will get that actioned as soon as i can.

    Learning Javascript has always been on my list of things to do, but that list got longer a few weeks ago with having to learn responsive web design. I don't think our goods lend themselves to mobile shopping but I guess we have to try :-)

    Life is too short to work 8 hours a day - thats why I work 16 :-)