Is there a good way to replace the "view cart" text with another text?

I have this big issue i'm still stuck with, i hope someone can help me.
I need to change the text "view cart" in the cart-summary module. I have 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 geleegd");
</script>
The "view cart" is replaced with "afrekenen".
BUT:
When i add another product in the large product layout the text "view cart" is back...
When i delete a product in the cart  the "view cart" text is also back
When i refres the page the "view cart" text is replaced again with "afrekenen"
So i thought, to use some 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 cart" and back to "afrekenen" Also the page is rebuild again which is not a very good solution.  So here are my questions:
Is there a better work around?
If not, is there a way that when a product is deleted in the cart the page can also be refreshed?
Thanks,
Frank

Hello Mario,
Here's my site where i'm working on:
http://grootaartseuronics.businesscatalyst.com/index.html
The cartsummary module is located at the right sitebar.
The code is:
<div id="plh_winkelwagen">
<div class="cart-summary">{module_shoppingcartsummary,vertical,}</div>
</div>
The CSS is:
#plh_winkelwagen {
float: right;
width: 160px;
height: 100px;
margin: 20px;
background-color: #FFC;
background-image:url(../Images/Winkelmandje_nieuw_25.png);
-webkit-border-radius: 15px; /* Safari */
-webkit-border-radius: 15px; /* Safari */
-moz-border-radius: 15px; /* Firefox */
-moz-border-radius: 15px; /* Firefox */
border-radius: 15px; /* CSS */
border-radius: 15px; /* CSS3 */
.shop-main .cart-summary {
float: right;
width: 40%;
So with your solution I should remove the background plh_winkelwagen en create or put it in the a.cartsummarylink? Or should i keep the plh-winkelwagen and just add your solution. I can create a png the same size as the: winkelmandje_nieuw_25.png with the "afrekenen" text in it?
Thanks,
Frank

Similar Messages

  • Is there any way to replace a cisco Line card with another Model?

    We bought a Cisco line card WS-X4648-RJ45-E for Cisco 4507 R-E. Later on I found that this module is not working with the chassis becuase supervisor engine 4 we are using. Supervisor Engine 6 is required for WS-X4648-RJ45-E. Now I want to go for WS-X4548-RJ45. Is it possible to return the line card? Is there any possible way to exchange? I am responsible for the mistake. I dont know what to do.
    By the way, I am from Saudi Arabia

    Unfortunately, yes.  That is true.
    However, did YOU specify the part number or did the reseller did?  Did they ask relevant questions as to the specific model of your chassis and/or your supervisor card or not?

  • Is there a way to remove the apps that came with my ipod?

    so you know how when you hold down the home button then all the apps become shaky with the little white X in the corner of them to delete it? Well i was wondering if there is a way to delete the apps that come with the ipod already loaded onto it and dont show up with and X and only shake. Because i never use some of them and they are just taking up space but i dont know if you can delete them. is there a way? thanks!

    You can go to settings, general, restrictions, and then enable the restrictions. You can then choose what you want visible on your home screen. To bring back what you've restricted, simply go back to settings, disable the restriction, and it'll be regular again.

  • Is there any way to replace the bright white backround in ibooks back to the original bookshelf, or at least tone down the glare?

    Is there any way to replace the bright white background in Ibooks back to the original bookshelf or at the very least tone down the glare ?

    Babowa is correct; there is no way to restore the arrows. If you want to step up and down a list, try the keyboard's arrow keys.
    Regards.

  • My 160gb has a broken charge port. Is there a way to replace the charging pins?

    when connected to a computer or charger, my ipod does not charge or sync to itunes. is there a way to replace the charging port? I have read things about logic boards.

    Welcome to the Apple Community.
    If its running iOS 5, you should be able to update over the air. (settings > general > software update)

  • What is the best way to replace the Inline Views for better performance ?

    Hi,
    I am using Oracle 9i ,
    What is the best way to replace the Inline Views for better performance. I see there are lot of performance lacking with Inline views in my queries.
    Please suggest.
    Raj

    WITH plus /*+ MATERIALIZE */ hint can do good to you.
    see below the test case.
    SQL> create table hx_my_tbl as select level id, 'karthick' name from dual connect by level <= 5
    2 /
    Table created.
    SQL> insert into hx_my_tbl select level id, 'vimal' name from dual connect by level <= 5
    2 /
    5 rows created.
    SQL> create index hx_my_tbl_idx on hx_my_tbl(id)
    2 /
    Index created.
    SQL> commit;
    Commit complete.
    SQL> exec dbms_stats.gather_table_stats(user,'hx_my_tbl',cascade=>true)
    PL/SQL procedure successfully completed.
    Now this a normal inline view
    SQL> select a.id, b.id, a.name, b.name
    2 from (select id, name from hx_my_tbl where id = 1) a,
    3 (select id, name from hx_my_tbl where id = 1) b
    4 where a.id = b.id
    5 and a.name <> b.name
    6 /
    Execution Plan
    0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=7 Card=2 Bytes=48)
    1 0 HASH JOIN (Cost=7 Card=2 Bytes=48)
    2 1 TABLE ACCESS (BY INDEX ROWID) OF 'HX_MY_TBL' (TABLE) (Cost=3 Card=2 Bytes=24)
    3 2 INDEX (RANGE SCAN) OF 'HX_MY_TBL_IDX' (INDEX) (Cost=1 Card=2)
    4 1 TABLE ACCESS (BY INDEX ROWID) OF 'HX_MY_TBL' (TABLE) (Cost=3 Card=2 Bytes=24)
    5 4 INDEX (RANGE SCAN) OF 'HX_MY_TBL_IDX' (INDEX) (Cost=1 Card=2)
    Now i use the with with the materialize hint
    SQL> with my_view as (select /*+ MATERIALIZE */ id, name from hx_my_tbl where id = 1)
    2 select a.id, b.id, a.name, b.name
    3 from my_view a,
    4 my_view b
    5 where a.id = b.id
    6 and a.name <> b.name
    7 /
    Execution Plan
    0 SELECT STATEMENT Optimizer=ALL_ROWS (Cost=8 Card=1 Bytes=46)
    1 0 TEMP TABLE TRANSFORMATION
    2 1 LOAD AS SELECT
    3 2 TABLE ACCESS (BY INDEX ROWID) OF 'HX_MY_TBL' (TABLE) (Cost=3 Card=2 Bytes=24)
    4 3 INDEX (RANGE SCAN) OF 'HX_MY_TBL_IDX' (INDEX) (Cost=1 Card=2)
    5 1 HASH JOIN (Cost=5 Card=1 Bytes=46)
    6 5 VIEW (Cost=2 Card=2 Bytes=46)
    7 6 TABLE ACCESS (FULL) OF 'SYS_TEMP_0FD9D6967_3C610F9' (TABLE (TEMP)) (Cost=2 Card=2 Bytes=24)
    8 5 VIEW (Cost=2 Card=2 Bytes=46)
    9 8 TABLE ACCESS (FULL) OF 'SYS_TEMP_0FD9D6967_3C610F9' (TABLE (TEMP)) (Cost=2 Card=2 Bytes=24)
    here you can see the table is accessed only once then only the result set generated by the WITH is accessed.
    Thanks,
    Karthick.

  • I see there is no way to change the security questions i set up when I first purchased my ipod touch. Software takes you in circles with no help

    I see there is no way to change the security questions i set up when I first purchased my ipod touch. All the answers I get do not work. Can't by another device until I get around this issue.

    Reset Security Questions
    Frequently asked questions about Apple ID
    Manage My Apple ID
    Or you can email iTunes Support at iTunes Store Support.
    If all else fails:
      1. Go to: Apple Express Lane;
      2. Under Product Categories choose iTunes;
      3. Then choose iTunes Store;
      4. Then choose Account Management;
      5. Now choose iTunes Store Security and answer the bullet questions, then click
          Continue;
      6. Sign in with your Apple ID and press Continue;
      7. Under Contact Options fill out the information and advise iTunes that you would
          like your security/challenge questions reset;
      8. Click Send/Continue.
    You should get a response within 24 hours by email.
    In the event you are unsuccessful then contact AppleCare - Contacting Apple for support and service.
    Another user had success doing the following:
    I got some help from an apple assistant on the phone. It is kind of round about way to get in.
    Here is what he said to do and it is working for me...
      a. on the device that is asking you for the security questions go to "settings", > "store" >
          tap the Apple ID and choose view"Apple ID" and sign in.
      b. Tap on payment information and add a credit/debit card of your preference then select
          "done", in the upper right corner
      c. sign out and back into iTunes on the device by going to "settings"> "store" > tap the
          Apple ID and choose "sign-out" > Tap "sign -in" > "use existing Apple ID" and you
          should be asked to verify your security code for the credit /debit card and NOT the
          security questions.
      d. At this time you can remove the card by going back in to edit the payment info and
          selecting "none" as the card type then saving the changes by selecting "done". You
          should now be able to use your iTunes store credit without answering the security
          questions.
    It's working for me ...I just have to put in my 3 digit security pin from the credit card I am using.
    Good Luck friends!

  • I downloaded ios5.1.1 to my phone, but i dont like the new software. The face detection used in the camera jut isnt for me. So, i would like to know if there was a way to undo the update and go back to ios 5.0.1. My iphone is not jailbroken or unlocked.

    i downloaded ios5.1.1 to my phone, but i dont like the new software. The face detection used in the camera jut isnt for me. So, i would like to know if there was a way to undo the update and go back to ios 5.0.1. My iphone is not jailbroken or unlocked.

    The face detection used in the camera jut isnt for me.
    Try a different camera app.  Camera Plus is a good one and there are many others.

  • Safari and Others Hang. Is there a good way to diagnose which process is being a trouble maker?

    I have a peculiar problem that has been developing for some time now.
    Current Symptoms:
      Safari (Any Version 5.0-Current) will load but WebProcess.app Opens to 100%
               on one core of CPU (Non-Responsive) and no web-pages will load.
      VLC.app launches in the same fashion, one process pegs to 100%.
      iMovie.app hangs.  Not crashing, but failing to successfully launch.
      Apple Script saved as an application behaves in the same way.
    Attempted Diagnosis:
          I'm currently running OS 10.7.3 on a Early 2009 Mac Pro.
         I have tried:
      Deleted Preferences, and Saved Application States. Then realized the
    problem can't be in ~/Lib/Prefs. because it also is a problem on a clean user
    profile I created to check. So I also looked in /Sys/Lib/Prefs. with no Success.
      I have run disk permissions more times that I can count. 
                    This comes up with regularity but solves nothing:
      Group differs on “Library/Preferences/com.apple.alf.plist”; should be 80; group is 0.
      Repaired “Library/Preferences/com.apple.alf.plist”
      Permissions differ on “usr/lib/ruby”; should be lrwxr-xr-x ; they are drwxr-xr-x .
      Repaired “usr/lib/ruby”
      Reinstalled 10.7.3 from the Combo Updater from apples website.  No Help.
      I did find launching any affected App from the Unix Exe File in the .app
             bundles (So it launches in terminal)  will open them and allow them to
             runwithout issue (yea! temporary fix)! 
    Finally I booted with -x into Safe Mode.  There the problem vanished.  Hooray
            it's another piece of  software or an extension I have loaded (Could  be any over
            the past 6 months or so)!
    So, I rebooted and tried to launch Safari immediately. It worked!  Only after a
            minute or so, when the GUI and background Apps had finished
            loading, the problem returns.
    What I need help with:
    Is there any good way to tell what application is causing the problem or what
    these four apps have in common?  I have looked at Console Logs, Crash Reports,
    etc. etc. but admittedly am not sure what to look for.  I would be happy to post logs
    or reports or more detailed info, if it would help.
    Otherwise Thank-you to anyone who reads this and has any good ideas short
    of a fresh install. Cheers!

    Hi...
    Reinstalled 10.7.3 from the Combo Updater from apples website.
    The only way to reinstall the Mac OS X or repair the startup disk running v10.7.3 Lion, is to use Lion Recovery The combo update does not do that.
    How much free space on the startup disk? Not enough free space can account for the problems with your apps.
    Right or control click the MacintoshHD icon. Click Get Info. In the Get Info window you will see Capacity and Available. Make sure there's a minimum of 15% free disk space.
    and no web-pages will load.
    Try using OpenDNS as suggested here >  Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found
    Use OpenDNS for better speed, more security, includes anti phishing filters, prevents browser redirects, and it's free.
    Open System Preferences / Preferences then select the Network tab. Click the Advanced tab then click the DNS tab.
    Click +
    Enter these addresses exactly as you see them here.
    208.67.222.222
    Click +
    208.67.220.220
    Then click OK.
    edited by:  cs

  • Is there any other way to  limit the data a user can see

    We are using Discoverer 10.2.xxx
    We are running it against an Oracle applications database but we do not have Discoverer integrated with the apps. I have created database users for discoverer and granted access to the data at the db level.
    We have about 40 salesreps and we only want each rep to see their own data. We have a high turn over with the reps
    For now, I have created the row level security in that folder in my eul. If the username = XXXX then Salesrep = XXXXX
    OR
    If username = YYYY then DSM = YYYY
    etc.. This goes on for about 40 users We have 3 levels of "users" - Salesrep, DSM or RSM (District or Region sales manager)
    These users are setup in my apps and I can write a database procedure to select their salesrep name based on their username.
    Is there any other way to limit the data that the salesreps can see ?
    Possibly with a stored procedure some way?
    Thanks
    Angie

    At a previous client's, I had created a system not too unlike what you're describing.
    Basically, I created an Oracle table that stored information concerning the salesperson as in Oracle Apps the data was not reliable for what they were doing (ie: with adding Apps modules, sometimes salesperson data was there, but with say, CRM, it was in another place, etc.).
    So, since this table was going to be used for driving everything about a salesperson (commissions, who they report to, when they started, territory, when / if they moved territories and/or manager, etc, etc.) I put lots of good stuff in it that would make life easier for them.
    The end user in charge of all this had was given a Form to add, edit, delete all this good stuff and they were happy.
    When it came time for security, it worked like a charm in that I used the concept of the BIS views where a user has an apps id associated to them and all data was filtered by that id. All I really had to do was to create this view that simply filtered data to that user's id. Then whenever I had a Discoverer report for salespeople, managers, etc. I just made sure the folder used had a join to this filtering view and I chose an item from the filtering view and all worked fine. All Discoverer reports only returned row level information for the salesperson who ran it.
    Likewise, the same Oracle table was queried by another security view that only brought back the same IDs for the salespeople associated to each manager. When this simple view was joined to any sales Discoverer folder (and used in Disco), it limited all data to the salespeople the manager was responsible for.
    Obviously this is just an overview and would take pages to explain, but essentially, if you can associate some kind of unique ID to each salesperson (I used the one returned in BIS views when someone logs into Apps, but you could just assign a different in your case), then you can create a view that filters to that id. Then when that view is brought into the EUL and joined to any other folder in the sales area (and you choose a column from the security view), you'll have what you're referring to - row level security for all salespeople and managers.
    When it works - it sure does look impressive.
    Russ

  • Is there an automated way to replace a query with another in a workbook?

    Hi all,
    I have a bunch of Queries which I'm planning to phase out, and I have replacement Queries for them. The Queries to be phased out are used in Workbooks. Is there an automated way to replace these obsolete Queries with new Queries in these workbooks? Maybe a BAPI, function module, VB Macro, Tcode (so that a BDC program can be written) or some other way?
    Thanks in advance
    Sankar Tadinada

    KairiTech wrote:I'm thinking of trying out Kernel Seeds.
    Kernel seeds are an excellent way to learn how to build a targeted kernel for your hardware, and I use and recommend them. They are not an automated method, which is what I understand the OP is looking for.
    (edit) yes, the information on the page is a little dated, but the methods still work. Kernel seeds are not really about faster and easier -- it's about understanding what you really need and how the process works (again, not really what the OP was asking for, but a different approach to kernel building).
    Last edited by 2ManyDogs (2013-11-25 21:51:19)

  • Is there an easy way to replace individual elements in one string array from another striing array?

    I have a string array with elements as follows:
       00 00 00 00 00 00 00 00
       00 00 00 00 00 00 00 00
       00 00 00 00 5E 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 array I want to use to replace values with is:
    43 4E 31 30 30 33 30 30 31 41
    Where 43 goes in the 3rd row fifth position
    Where 4E goes in the 3rd row seventh position
    Where 31 goes in the 4th row  first position
    Where 30 goes in the 4th row third position
    Where 30 goes in the 4th row fifth position
    Where 33 goes in the 4th row seventh position
    Where 30 goes in the 5th row  first position
    Where 30 goes in the 5th row third position
    Where 31 goes in the 5th row fifth position
    Where 41 goes in the 5th row seventh position
    So the final array 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 4E 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 within an array with another element of a string within a different array?
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    CMM_Add_SCAN_SN_2_PAT_DATA (temp).vi ‏13 KB

    Try this
    Omar
    Message Edited by Omar II on 03-24-2010 03:25 PM
    Omar
    Attachments:
    CMM_Add_SCAN_SN_2_PAT_DATA%20(temp)[1].vi ‏17 KB

  • Is there an easy way to replace fonts in Photoshop ?

    Is there an easy way to replace fonts in Photoshop without clicking on each text layer? We just got a new font system, so now our fonts don't match up. Looking for a fast/easy way to replace the fonts like in InDesign or Illustrator.

    Actually (You probably can guess what I’m driving at) Scripting could be used to automate such a task, but it would not really be »easy« unless one has some experience in the matter – if text-items contain a mixture of fonts it might even get kind of »complicated«.
    Still, depending on the quantity of files to be edited, the OP could try asking in the Scripting Forum if someone might not have a Script for something like this already …

  • At work we have many who travel with train alot, where the internet is very unstable at best. And  they have trouble getting their e-mails. So the question is if there is a way to increase the mail cache in iOS 7, to lower the dependence of internet.

    At work we have many who travel with train alot, where the internet is very unstable at best. And  they have trouble getting their e-mails.
    So the question is if there is a way to increase the mail cache in iOS 7, to lower the dependency of a very poor internet connection.

    I don't think so. Unless it's in the settings, there's not much that can be done.
    are they using wifi on the train? If so, maybe switching to cellular. There are devices like the Mifi, which is a battery operated portable wifi hotspot that they can connect their device to.
    If the wifi on the train is solid, I know I've had issues using certain hotspots. For example, my yahoo mail simply will not pull down via the mail app if I'm on some AT&T hot spots. But if I go in via safari then it works. So if the signal is good, maybe using a different way can help.
    Or maybe looking for a mail interface that isn't apple's. There are others in the app store that may have better function or more control.

  • My PC crashed and I was wondering if there was any way to recover the tunes I had purchased?

    My PC hard drive crashed and I was wondering if there was any way to recover the tunes I had purchased.

    It has always beenv ery basic to always maintain a backup copy of your computer for just this reason.  Use your backup copy to put everything back.
    If for some reason you have failed to backup, not good, then you can redownload some purchases in some countries:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store

Maybe you are looking for

  • Java error while importing MDL on owb 11.1.0.7

    hello experts When importing a large MDL I have following error: The error occurs after completing 89% of the 8Mb MDL file. I have tried with a merge and a replace option. Small remark (but might be huge) is that the exported repository is one of 10.

  • Sony KDL52V5100 and HDMI inputs

    I purchased a Sony KDL52V5100 from Best Buy in July, 2009.  Nice television. I have a Dishnetwork 922 DVR/Receiver as well a Klipsch theatre system attached to the HDMI inputs.  Suddenly, this weekend, the television would not pick up a signal from t

  • Recently Upgraded to Mac 10.6.6. and I lost my CD extensions

    I recently upgraded my Mac OS to 10.6.6 and lost my CD extensions. No music CDs, no DVDs, not even the Snow Leopard cd wil mount now. Any ideas where I can download the CD extensions?

  • ITunes Shuffle not working

    My iTunes shuffle does not seem to be working. Can anyone help troubleshoot?

  • The iPod Touch 4th gen.

    I've got one of these and I love this. You can do so much with it. I got the white one. I would like to see Siri in this device.even if we can only use it with wifi on the iPod touch. It would make spelling and searching a breeze. :)