View Single Post
  #3  
Old 03-10-2015, 04:39 AM
  totaltec's Avatar 
totaltec totaltec is offline
 

X-Guru
  
Join Date: Jan 2007
Location: Louisville, KY USA
Posts: 5,823
 

Default Re: Remove variant selections that are out of stock

Quote:
Originally Posted by tony_sologubov
Does it mean that one first load, product page will show all values in two select-boxes, but if we choose Black, then we will only need to show S and M options in the second select-box?
Tony,
Thanks a bunch for looking at this for me. I sincerely appreciate it. Yes you are correct, in the case of two attributes we are hoping to show all options until selection of the first removes the possibility of the second. But in the case of a single attribute, (in our example they are shoe sizes) it will only show the sizes that are in stock upon initial page load.

Actually, it would be OK if it only worked on products with a single attribute, and products with multiple attributes were ignored and worked the same as they do now.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey

XcartGuru
X-cart Tutorials | X-cart 5 Tutorials

Check out the responsive template for X-cart.
Reply With Quote