Announcement

Collapse
No announcement yet.

Product Color Option linked to Size Option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Product Color Option linked to Size Option

    Hi,

    does anyone know of a way to set color stock levels for a certain product size. something like these guys:
    http://www.boobydoo.co.uk/sportjock/...edium-abc-cups

    so you can select the bra size then it will open a new menu saying which colors are in stock for that certain size.

    please bare in mind there are around 50 product sizes and about 5 colors so adding invisible products for each isn't really an option.

    Simon
    www.simonstaton.co.uk

    #2
    well, there's not automatical way of dynamically changing the menus like this, no.
    As Actinic's pages are static html, you can't select a size and then only be presented with a second menu for available colours.

    You could look into Drillpine's offerings and see if any of those offer an option you could use.
    http://www.drillpine.biz/actinicstuff/index.html
    Tracey

    Comment


      #3
      Hi Tracy,

      I looked at drillpine when I first started looking into this however sadly there is nothing on there to support this.

      Simon
      www.simonstaton.co.uk

      Comment


        #4
        You can get the Boobydoo display via the following.

        Make a Section "Sports" containing 3 sub-Sections (Small, Medium, Large).

        Put the appropriate products into Small, Medium, Large.

        Go to Design / Library / Layouts / Product Lists. Right-click Standard Product List and choose Copy. Rename that copy to be Sibling Aware Product List.

        Double-click Sibling Aware Product List and then click "Click here to edit list layout settings".

        In Start of List, above everything, insert the following:
        Code:
        <actinic:block type="ParentSectionList">
        	<actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%20%28%3cactinic%3avariable%20name%3d%22ListCount%22%20%2f%3e%20%2d%201%29" >
        		<select onchange="location.href=this.options[this.selectedIndex].value;">
        			<option value="#">Select a size</option>
        			<actinic:block type="ChildSectionList">
        				<option value="<actinic:variable name="SectionURL" />"><actinic:variable name="SectionName" /></option>
        			</actinic:block>
        		</select>
        	</actinic:block>
        </actinic:block>
        OK out of the Library.

        Now go to the parent Section (Sports) and in Section Details / Layout / Product List Layout, select Sibling Aware Product List.

        These pages (Small, Medium, Large) should now have a drop-down that takes you to the other size pages.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Hi Norman,

          it is not so much the layout im tryign to copy it is the ability to asign stock levels to a choice inside of a choice.

          so size 7 might only have red and blue available but size 6 will have red blue and green available.

          Simon
          www.simonstaton.co.uk

          Comment


            #6
            My code above will let you display all colours for a particular size. You have to put each sizes products into sibling-level Sections. Each Section then gets a drop-down that lets you choose the size.

            Another way to do it would be to display all products on one page but hide the ones that don't match a pre-selected size. E.g. see BikiniShack http://www.bikinishack.co.uk/x274.html where I wrote some code that greys out unavailable sizes. It could have hidden them if required.

            You're not going to get what you want without significant coding effort. What I posted earlier was the simplest I could think off. Anything else will likely require far more effort than you're likely to find for free on the Community.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              okay got it working, thanks for the help Norman much appreciated
              www.simonstaton.co.uk

              Comment

              Working...
              X