Stock control – hide if out of stock

Hi,
I’m trying to figure out the best way to go with a site I’m building. The client has hundreds of products and if a product is sold they want the item hidden from the website. The issue is – if I choose that option – hide if out and stock and most items there is only 1 of – then when that product is added to the visitors cart the items disappears and says This product is unavailable or out of stock. I’ve added js to say Product added successfully however if the visitor wants to look at their item again (by clicking on it in their shopping cart) then the message comes up ‘This product is unavailable or out of stock’. This can be confusing for customers so I’m wondering what’s the best way to work around this? Ideally it would be great if the customer could still see their item.
Can anyone suggest a solution?
Cheers
EM

You do not need javascript for that, you can just show hide elements that are in or out of stock.
You can also hide out of stock items in the admin itself so products once out of stock do not even show.
You can update your script as an other option to look at the cart and if the item on the page is in the cart just have something that says "this item is already in your cart" as well.
Lots of options, depends on what your after.

Similar Messages

  • "hide if out of stock"

    hi, i would like to set "hide if out of stock" tick box as default ticked

    Hi there,
    Not an option at this time.
    If you manage your products via the spreadsheet setting all these to that is an easy process.

  • My problem is that after printing the first photo or picture, when I come to print a second, both the Colour Management and Epson Colour Controls are greyed out and showing No Colour Management

    I have recently purchased a Mac computer (updated to Maverick) to go with my Epson Stylus Photo RX500 printer which has given excellent service with my old Windows computer. However, when trying to print pictures or photos via Photoshop Elements 11, the best results I can get are using the Colour Management and Epson Colour controls in the printing options box.
    My problem is that after printing the first photo or picture, when I come to print a second, both the Colour Management and Epson Colour Controls are greyed out and showing No Colour Management, The only way I can reset the controls is to shut down the printer and computer and restart.
    Could there may be a setting somewhere that I need to adjust please?  I have been in touch with Epson and they say that the Epson Colour controls are part of the Photoshop Elements software but a post on the Adobe forum brought no results and I am unable to contact Adobe.
    <Edited by Host>

    Hello Garry. Thanks for the reply. I guess I should have used a different title from "How do I post a question?" That should come after trying to resolved the colour settings first. However, to answer your question, after experimenting with all the different settings in Photoshop Elements and Epson software, I now start with PSE11 Colour settings then click "no colour management" then after clicking Print, I choose "More Options/Colour Management/Colour Handling/Printer Manages Colour" then I choose "Page Setup/Layout/Colour Matching" which then shows Epson Colour Controls but I also choose "Layout/Colour Management" which then shows "Colour Controls/Mode" I then of course choose an Epson printer profile depending on the paper I am using. I get good results but as I said, the Colour Matching and Colour Controls are then greyed out. Hope that makes sense.

  • Increment and decrement buttons on a ring control are greyed out

    Hello,
      The check box for showing the increment and decrement buttons on a ring control are greyed out. Does anyone know why? I have verified that the ring is a control as opposed to a indicator.
    Regards,
    Kaspar
    Regards,
    Kaspar

    "the controls are greyed out because they do not exist on the Menu ring control."
    Errr... yes, I believe that's exactly what I said in my last response.
    "This is different from what I saw in another part of this forum about using event structures on a Menu ring."
    Don't know what you could be referring to, as there is no event specific to the increment/decrement controls. All that they would do (if they existed) is to change the value of the control, and the applicable event would be the "Value changed" event. Where exactly did you read this?

  • HT1338 I have a G4 with no sound. The volume control is grayed out. Any Ideas? Thx Brian

    Hello,
    I just recieved a G4 with no sound. The volume control is grayed out. Any ideas? Thx Brian

    A SMU rset can usually fix that.
    Resetting the SMU on a PPC Mac:
    http://support.apple.com/kb/HT1767
    and on resetting the PMU on a Power Mac G5, G4 and G3 :
    http://support.apple.com/kb/HT1939?viewlocale=en_US
    http://support.apple.com/kb/HT1436

  • SCCM remote control keeps dropping out when another network adaptor loses connection

    Hey guys,
    Hopefully someone will be able to help me out
    at work, we are running SCCM 2012, and I use SCCM 2012 config manager to manage the clients etc
    We have a particularly annoying issue with SCCM remote control; it constantly drops out when a network connection on the client machine disconnects or changes state, even if its not interface I'm remote controlling through
    Here's an example for you:
    a laptop with a wired, and wireless connection:
    I remote control the machine through the wired network address (lets say 192.168.0.1), but if the wireless connection drops out (someone turns it off or it breaks) the remote control client will kick me off, lock the screen, and I have to wait 20-30 seconds
    before it will accept my connection again
    This happens with any network adaptor that's installed on the client
    Here is a copy of the logs re-creating this issue: https://www.dropbox.com/s/nu4w28d44xky3rg/CmRcService.log
    (I've edited it to take out usernames and IP addresses as they are publicly accessible)
    So my question, does any one know how to fix this issue? I see it uses WMI, is there anyway to get WMI to ignore an interface?
    Thanks heaps,
    Harry

    This is going to be done by design for security reasons. If the network connect for whatever reason is down the pc will automatically be locked.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • Control + minus zoom out - please read

    I use the control + minus for zooming out with my left hand (using control key on RIGHT side of keyboard and don't need to remove right hand from mouse) so often it's subconscious. Now, when I use that keystroke it turns the cursor into the minus pen tool. PLEASE READ FURTHER.
    If I remove my hand from the mouse and use the control key on the LEFT side of the keyboard it works but I don't want to have to do that.  I have upgraded from CS4 to CS5, and it is still doing this, AND got a brand new keyboard. It works fine in Photoshop - it just does this in illustrator, and it's driving me NUTS.  so it's not my keyboard, and it shouldn't be illustrator since I upgraded. WHAT is going on?  I need this to function because I use it all the time and don't want to have to think before doing it, or have to slow myself down by using both hands.  HELP!  (and thanks to anyone who can tell me how to get out of this loop of hell!)
    [p.s. will be out of office for next week so may not be able to respond after today]

    Edit  >> Keyboard Shrcuts
    Though the PC or Mac both don't discrimate whether you use the left or right CMD or Ctrl in Illustrator,  I would still check these out.
    The PC also has a control panel for international keyboard languages & assistance for handicapped, take a look at those. I don't have a Win station in front of me at the moment to give you the exact name of those.

  • Sound control is greyed out on external output since updating to Mavericks

    I have recently updated my macbook pro to Mavericks and the sound control is now greyed out / disabled when I connect the output to my LG television to use as an external speaker (and monitor from the simultaneous display output). Everything is works fine with the internal speakers and if I hook up headphones instead of my television or external speakers. On external speakers, only the external device allows to control the volume. This is very irritating as I need to have my television remote controller handy every time I was to tweak the volume now. Any idea how to fix that? Please don't tell me it's a new "feature" that comes with Mavericks!

    Had the same problem. It was the built in switch that switches sound from built speakers to headphones, muting the built in speakers when the jack is inserted. The switch is internal and built in the headphone socket. I sprayed WD 40 and it now works again fine
    I hope it helps

  • How to control "hide/show" in a table on row level

    I was trying to implement controlling/rendering of "hide/show" in a table on row level, but no luck. Is is possible to render the "hide/show" in a table based on the row attribute? If the row attribute is "true", then render the "hide/show" at that row; If the row attribute is "false", then not render the "hide/show" for that row. Is this feasible? Thanks.

    I think this should be possible, what u need to do is as follows:
    1) Add a decode statement to your VO query to get 0/1 based on your condition like
    decode('',true,0,1) render_flag
    2) In VO attrinute mappings caste this attribute as boolean instead of number.
    3) Attach this attribute to render flag of hide/show via SPEL.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Remote control kicks you out when trying to change the logged in user by clicking on the red N

    I'm running Zen 6.5 with the latest updates and the latest agents... I can
    successfully remote control a workstation through ConsoleOne but I have 2
    issues:
    1. If I'm in the middle of a remote session and I right click on the red
    N icon and change the user, it kicks me out and says "operation is
    currently disabled for the logged in user".
    2. Whenever I log in it changes the desktop background to blank (it's
    actually a blue background) and it doesn't change it back after I close
    the remote session. If I physically go that workstation and logout and
    log back in, it still keeps that same blue background.

    Gilbert,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • A/V Control panel greyed out

    How to get that A/V Control panel in quicktime back its greyed out on the right side all functions disabled

    I have the same problem, can't seem to get any support on this...  Tried some of the things suggested for similiar problems, nothing works.

  • Partner Function - Control Keys Grayed Out

    Hi Team,
    In my partner function procedure there are many partner functions maintained. Against each of these partner functions we have a Non Modifiable and Mandatory check boxes provided by SAP. For the Ship to Party partner function these 2 check boxes have been grayed out and hence cannot be changed. This is happening only for the Ship to Party and not for other partner functions. Any clue what is happening or where do we have a control feature to make these fields modifiable.
    Regards
    Nadarajah Pratheb

    Hi Nadarajah,
    In ECC 6 if we go through VOPA both the fields are grayed out.. but if we go through the path SDBFPD(new one)... only Non modify field is grayed out.. Mandatory field is still open for editing in LF-SH..
    Thanks for this Observation.. If u get any information regarding this plz update here..
    Thanks,
    Sam

  • Can we Hide/Gray out Edit button in RFx Screen

    Hi guruzzz...
        I have a requirement, where i have to disable or hide the Edit button in RFx depending on document status. I am new to this SRM do we have any option to do this ( i heard dynamic control class etc.. not sure). I am working in SRM 7.0.
    Thanks and Regards
    Sree

    You'd have to locate the proper WebDynpro component and View information by positioning your mouse on the screen element, such as the column, and right click. On the context menu, select "More Field Help". There you should have -
    General Information About the Application and Component
    Application: /SAPSRM/WDA_L_FPM_OIF
    Web Dynpro Component: /SAPSRM/WDC_AODC_BEV_ACT
    Window Information: IV_L_FPC_CA_DETAILS
    View Information: V_BID_ACTIVITY
    Configuration ID: /SAPSRM/WDCC_AODC_BEV_ACT_RFQ
    Then launch SE80, find the view and enhance it by removing those columns you don't want to have.

  • Need to hide System.out.println output in console

    class Hide{
    public void test(){
    System.out.println("hai");
    public static void main(String[] args){
    Hide obj=new Hide();
    obj.test();
    Output is : hai
    But I don't want to display hai. How i can hide this
    kindly help me on this........

    class Hide {
         public void test() {
              System.out.println("hai");
         public static void main(String[] args) {
              System.out.println("before");
              java.io.PrintStream old_out = System.out;
              try {
                   java.io.PrintStream pw = new java.io.PrintStream("test.txt");
                   System.setOut(pw);
              } catch (java.io.IOException e) {
                   e.printStackTrace();
              Hide obj=new Hide();
              obj.test();
              System.setOut(old_out);
              System.out.println("after");
    }

  • Give Control option grayed out (mid migration)

    I just set up a new Lync 2013 Server, and have moved all users over to it. Obviously I missed something. Desktop sharing works, but the "Give Control" option is grayed out. 
    I think I found a setting but... well here, take a look...
    PS C:\> Get-CsConferencingPolicy -Identity "Global" | select AllowParticipantControl
                              AllowParticipantControl
                                                 True
    Where do I go from here?
    A wise man is a fool, with a good memory.

    Hi,
    Did the issue happen only for one user or for multiple users?
    From your description, the issued Lync users are moved from Lync Server 2010 pool to Lync Server 2013 pool. Please create a new Lync account on Lync Server 2013 pool and make sure the policy for the user set correctly, then have a test.
    Please also try to use Lync Web App to have a test to test if the issue caused by Lync client.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

Maybe you are looking for

  • Sound looping

    Hello, i'm trying to get some music to play and then loop again when its finished. Only thing is, as its in a game, each time you go through each frame of a (badly programmed) walk loop it restarts. I used a variable so does not restart, but it only

  • IMac Late 2006 Screen Shot/Flickers

    Though the computer itself seems find (able to print off the network via laptop), the screen on my Late 2006 iMac seems done. What can I do? The flickery images, like a bad old TV set has kicked in, and I don't see it stopping. Should I attempt a res

  • Plug-ins not showing up in Aperture 3.1

    I have been using Aperture for a past few days, and when i tried to instal two plug-in programs (photoshelter - it is a photo hosting site and the plug in allows you to upload photos directly to the site, and HSC edit - this is an edit tool I downloa

  • Anybody using Apple TV with Lightroom?

    Looking for help setting up new Apple TV with Lightroom 5.2.  Can see "all" of my many LR photos on my TV but only want to see my Lightroom created slideshows.  Possible??

  • Solaris 10 boot error after ufsrestore

    Hi, We have restored a V490 using ufsrestore and are having a few issues. The root partitions of the original V490 were mirrored by SVM so I basically restored /, /var, /opt and /usr and changed vfstab (among other things) and also commented out the