Is there a good way to replace the text "See basket" by another text?

I have a big problem, I'm still stuck with that, I hope someone can help me.

I need to change the text "See basket" in the cart summary module. I learned that I can do this with javascript: http://forums.adobe.com/message/4409239#4409239

But there are problems:

When I use this javascript:

" < script src =" https://AJAX.googleapis.com/AJAX/libs/jQuery/1.7.2/jQuery.min.js "type =" text/javascript"> < / script > "

< script >

$(function () {})
$(".cartSummaryLink").text ("Afrekenen");
});
$(function () {})
$(".cartLink").text ("Winkelwagen is alone");
});

< /script >

The 'see the basket' is replaced by 'afrekenen.

BUT:

  1. When I add another product to the presentation of big product the text "see basket" is back...
  2. When I delete a product in the basket the text "See basket" is also back
  3. When I refres page the text "See basket" is replaced with "afrekenen.


So I thought to use javascript to refresh the page when a product is added:

< script type = "text/javascript" >

function AddProductExtras() {}
document. Location.Reload (true);
}

< /script >

This works, but you can see that the text changes from 'afrekenen' to 'view basket' and "afrekenen" as the page is again a regeneration which is not a very good solution.  So here are my questions:

  1. Is there a better work around?
  2. If not, is it possible that when a product is removed from the basket page can also be updated?


Thank you

Frank

Hi Frank,.

I suggest that you use CSS and replace the basket with an image. The following should help:

{a.cartSummaryLink}

background: url(your-image.png) 0 0 no-repeat;

Width: 120px;

height: 27px;

vertical-align: middle;

display: - moz - inline-block; / * for Firefox * /.

display: - moz - inline-box; / * for Firefox * /.

Display: inline-block;

text-indent:-9999px; / * mask the text * /.

}

See you soon,.

-mario

Tags: Business Catalyst

Similar Questions

  • Is there a good way to reuse the facades?


    Yes.  Use an Xcontrol.  A façade Xcontrol always appears the same on every FP that contains an instance of it and it may take action in response to the events...   Read this KB article (always a good read)

  • Is there a way to replace the series I use?

    I was using a student permit until the last few days and now bought a lot. Is there a way to replace the serial and more key reinstall the plug-in?

    Thank you.

    With the plugin the first raise after deactivation takes you back to the mode of trial in silence.

    If you raise again if she must invite for a new SN.

    -Chris

  • What is a good way to use the queues for the model of consumers/producers?

    Hi all

    I am following the model of consumers/producers to use the queue to synchronize the following process: the producer is a loop to produce a number N, I will put each number generated in a table and after each 5 numbers generated, I put the table in the queue and pass it on to the consumer. I have to wait the use by consumers of the data and it will then remove the item from queue so that producers will have the chance to produce another 5 numbers. As I put the maximum size of the queue one, I expect that the producer and the consumer turns to produce / consume all five numbers and the opportunity to another. Here is my code

    When the checkbox is false, the code will be

    For the first 5 numbers, product will generate every thing right and put it in the table, and it's going to pass the array to the quere so that the consumer will have the chance to loop through the table. I except the procude loop will continue only when the queue is available (i.e. all items are deleted), but it seems that once the consumer starts the loop loop of the product will continue (if the indicator x + 1 and x 2 will be changed to numbers). But this isn't what I want, I know there must be something wrong, but I can't say it is.

    dragondriver wrote:

    As you say in 1, sequency structure to enforce the order of execution, that's why I put it here, in this example, the simple question, I replace the complete code with increase in the number, in the real case, the first markers + 1 and + 2 must be performed in this order.

    Mikeporter says:
    1. get rid of all the structures of the sequence. None of them are nothing but apply a work order which would have been the same without them.

    So even if you delete the sequence structure, there will be a fixed & defined order and it is because LabVIEW follows the MODEL of FLOW OF DATA.

    Data flow model (more precisely in the context of LabVIEW): a block diagram node runs when it receives the required inputs. When a node is running, it produces output data and transmits data to the next node in the path of the data stream. The flow of data on the nodes determines the order of execution of the VIs and functions on the block diagram (click here for reference).

    Now in your code, just remove the sequence structure will not make you order will be going to stay the same, but you need to do some very minor changes (as thread of the error in loop, before that he go to the node "Élément Dequeue").

    Come to the main point: it's a good way to use the queue for the consumer/pmodel that?
    The model you are using (and qualifying as consumer/pmodel) is much too deviated from the original consumer/pmodel which model.

    dragondriver wrote:

    For the second, Yes, it's my fault for delete, though. I'm actually the example of model of producer/consumer design pattern, but I do not pay attention to the while loop in the part of the consumer.

    While loops (two producers & consumers) are the essential part of this architecture and cannot be deleted. You can start your code using standard model.

  • Is there an easy way to replace individual items in an array of strings to another table of striing?

    I have an array of strings with elements as follows:

    00 00 00 00 00 00 00 00

    00 00 00 00 00 00 00 00

    00 00 00 00 5TH 00 00 00

    00 00 50 00 30 00 33 00

    34 00 39 00 00 00 00 00

    00 00 00 00 00 00 00 00

    00 00 00 00 00 00 00 00

    The table I want to use to replace values with is:

    4 43 31 30 30 33 30 30 31 41

    Where 43 goes to the fifth position of 3rd row

    Where 4th goes to the seventh position of 3rd row

    Where 31 going into 4th position of first line

    Where 30 goes in 4th position of third line

    Where 30 goes in 4th place fifth

    Where 33 goes in 4th position of seventh line

    Where 30 goes to the 5th place of the first rank

    Where 30 goes to 5th place from third row

    Where 31 goes to 5th place from fifth

    Where 41 going into 5th position of seventh line

    Table final looks as follows:

    00 00 00 00 00 00 00 00

    00 00 00 00 00 00 00 00

    00 00 00 00 43 00 4F 00

    31 00 30 00 30 00 33 00

    30 00 30 00 31 00 41 00

    00 00 00 00 00 00 00 00

    00 00 00 00 00 00 00 00

    Is there an easy way to replace an element of a string in a table by another element of a string in a different picture?

    Thank you.


  • Is there a good way to archive historical data?

    Our planning cubes become too big with 5 years of forecasting and budgeting data.

    Is there a good way to archive historical data?

    How you guys do it?

    I know a simple way is easy make a copy planning essbase cubes.  However, is there text, attachments and support details, these will be lost unless there is a way to archive a RDBMS repository data for planning.  Even in this case - all links and hooks of the Essbase cubes in these RDBMS repository will be broken.

    The old fashion method is to print all reports in PDF and archiving.

    Given that the plan changes every month, reprocess you history until you check in?

    Thanks for your advice.

    This can be done in 2 ways...

    1. just make a copy of the old 'DATA' in text file or another essbase cube history. Clear only the historical data for the current application. This will keep other information as text in the intact cell. In case the user wants to refer to the old texts/support cell details they can do by going directly into the application and for part of data, they can look in old PDF report.

    2. a copy of the planning application to create a copy of the current request. Keep all old data, text etc in old app of cells. All previous reports also point this app. Then erase current app and can be simply provide read access to older data App users can be trained to use older applications for all historical data and current app for existing budgets. Also this app can be used during the period of archiving all data.

  • Is there a good way to do it?

    Is there a good way to write messages of errors in PL/SQL? For example:

    IF < variable > IS NULL THEN

    dbms_output.put_line ("' error message");

    END IF;

    OR

    IF < variable > IS NULL THEN

    RAISE < exception >;

    END IF;

    What is the most correct? Or maybe the two are quite right?

    Thank you.

    Hello

    Dbms_output is a good way of packing to write messages for debugging PL/SQL code.  It is not very good for anything else.  It is particularly inappropriate for the error messages, since the output can easily be missed, if it is never displayed at all.

    The second way you posted (STIMULUS) is good.  Create user-defined exceptions and RAISE them explicitly.

  • No there is no way to override the lock 8 hours AFTER you have changed all your questions?

    No there is no way to override the lock 8 hours AFTER you have changed all your questions?

    < object edited by host >

    use the contact for Apple at the bottom of this page and ask them if it is a question about the security of your account.

  • Is there a way to get the text to reformat then I Zoom in to read an article.

    Is there a way to get the text to reformat then I Zoom in to read an article, so I can't do a pan on?

    Unfortunately not - this is one of the disadvantages of pinch to zoom - makes the biggest full page

  • My ink carriage does not move to the way to replace the ink cartridges. I think I put the ink in the wrong office

    My ink carriage does not move to the way to replace the ink cartridges. I think I put ink in bad officejet 3830

    Hello! Welcome to the community @Tammy111 HP

    I read your post about the ink carriage being stuck in your Officejet 3830, and I wanted to respond to troubleshoot. Try these steps and if the transport is not yet move to order so that you can access the ink, then your best bet would be to call phone support to see if they can replace the unit for you. I'll leave their details below.

    HP OfficeJet 3830, DeskJet 3830, 5730 printers - an error 'Transport Jam'

    Click on the thumb to below testify my help!

    Click on the "accept as Solution" if I'm you guide to a solution!

    Contact HP:

    Step 1. Open the link: www.hp.com/contacthp/

    Step 2. Enter the product number or select Auto detection

    Step 3. Scroll up to "still need help? Fill out the form to select your contact options.

    Step 4. Scroll down and click on: contact HP options - click Get phone number

    File number and phone number appear

  • Hello. I so want to know if there is a way to keep the photos on icloud and get them deleted on your iphone, so that there is no problem of storage of the device

    Hello. I so want to know if there is a way to keep the photos on icloud and get them deleted on your iphone, so that there is no problem of storage of the device.

    iCloud is a synchronization system, not an external 'hard drive '. If you remove them on your device, they will remove icloud. To increase the available space, go settings/iCloud/Photos and select optimize iPhone/iPad storage. That will reduce the space required by 90% when it is fully effective.

  • Is there really no way to change the spacing of grid icon?

    My new iPad Pro is pretty well what I was hoping, with the exception of the 4 x 5 grid incredibly Needless to the app icons. On all other devices I use, this big screen would be comfortably and readable display four times more items, or more, avoiding to go back between home pages. I already spent a lot of time wandering through my pages trying to find applications of interest, and I just started to charge this device with the stuff I use. I understand the desire for consistency on all platforms, but this seems extreme. In this logic, all iOS devices should all have the same resolution too. As far as I can see, the only way to change the icon spacing is to jailbreak the device. Is this true?

    There is no way to change the spacing of app icon. Have you tried to use folders on your home screen?

  • Does anyone know if there is a way to define the layout of icons on the desktop when it is a 'bureau', then a different configuration for when it's a laptop?

    Original title: desktop themes?

    I use my cell phone as both a laptop and a "desktop"(connecter à un moniteur 24''). "»  Does anyone know if there is a way to define the layout of icons on the desktop when it is a 'bureau', then a different configuration for when it's a laptop?  I don't want to keep moving icons and I'm a little OCD about where they are.

    Hi MelissaES,

    You can follow these links & check if it helps.

    Set up multiple monitors

    Understanding multiple monitors

    Multiple monitors: frequently asked questions

    Hope the helps of information.
    Please post back and we do know.

  • Is there an easy way to identify the type of disk required by the optical drive in my computer? How to identify DVD + compared to a DVD player?

    At home, my wife and I have two computers four desktop computers and laptops.  I often bring the laptop I got from my employer to use when I travel or work at home. Is there an easy way to identify the type of optical drive required by the optical drive in a computer?  How to identify DVD + compared to a DVD player?  I have never the disk right when I need to burn something.  Thank you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/which-CD-or-DVD-format-should-I-use

    Should which CD or DVD format I use

    The above should help you.

    http://Windows.Microsoft.com/en-us/Windows-Vista/burn-a-CD-or-DVD

    General information on CD burning.

    See you soon.

    Mick Murphy - Microsoft partner

  • Is there a possible way to stop the reboot in the Middle when machine restarts?

    Is there a possible way to stop the reboot in the Middle when machine restarts.

    Waiting for answers... !!

    Hello

    Thank you for keeping us posted.

    I would say to run the system maintenance utility and check if it helps. Please follow the steps in the link given below.

    Note: Resolution of the problems of system maintenance search for unused files and shortcuts that you clean or remove so that your computer can run faster.

    Open the troubleshooting of the System Maintenance Utility.

     

    http://Windows.Microsoft.com/en-us/Windows7/open-the-system-maintenance-Troubleshooter

    I hope this information is useful.

    Please let us know if you need more help, we will be happy to help you.

    Thank you.

     

Maybe you are looking for