Announcement

Collapse
No announcement yet.

Auto Generated Search Page

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

    Auto Generated Search Page

    Hi,

    Could anyone please advise how to do the following if it is possible.


    I want to create 2 seperate product pages, one for all products under £10 + one for under £20.


    I know my site has the capability of doing this with the advanced search feature when you search by price.

    Is there something I can do, so when a customer clicks through to the under £10 section, some type of code automatically generates every product on my site that is under the price of £10 and lists them on that page?


    Thanks.

    #2
    Do the search you want and then copy the url of the results page. Use that as your link.

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Here's another way that lets you list them as buyable products:

      Go to Design / Library / Layouts / Fragments. Right-click Text Only and choose Copy.
      Rename that copy to be All Products Priced Between 0 and 10.
      Open All Products Priced Between 0 and 10 and replace all contents with:
      Code:
      <actinic:block type="EntireSectionList">
      	<actinic:block type="ProductList">
      		<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductType%22%20%2f%3e%20%3d%3d%200%20%0d%26%26%0d%3cactinic%3avariable%20name%3d%22ProductPriceRaw%22%20%2f%3e%20%3e%200%20%0d%26%26%0d%3cactinic%3avariable%20name%3d%22ProductPriceRaw%22%20%2f%3e%20%3c%3d%2010" >
      			<actinic:variable name="ProductLayout" value="Product Summary" />
      			<hr style="clear:both;" />
      		</actinic:block>
      	</actinic:block>
      </actinic:block>
      Now create a Section Called e.g. Up to £10. In it, create a single Fragment called Test-10.
      In Fragment Details / Layout, choose All Products Priced Between 0 and 10.

      The Section should now display all such products.

      To do a £10 to £20 one, go to Design / Library / Layouts / Fragments. Right-click All Products Priced Between 0 and 10 and choose Copy.
      Rename that copy to be All Products Priced Between 10 and 20.
      Open that new Layout, double-click the BlockIf and change the 0 and 10 to 10 and 20.
      Create a new Section for this.
      Create a single Fragment there called Test-20.
      In Fragment Details / Layout, choose All Products Priced Between 10 and 20.

      Repeat as needed for other price ranges.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thanks alot guys!

        Comment

        Working...
        X