Announcement

Collapse
No announcement yet.

Is this possible, or is it too technical for Actinic.

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

    Is this possible, or is it too technical for Actinic.

    I currently use my extended info pages as a 1 page per product layout see www.qualitysilver.co.uk

    I currently use a different extended info template for each group of products and currently have around 200 different templates on the site in order to give more defined information on stock availability, delivery and packaging of products.

    Would it be possible using “Block if” to change the extended info layout assigned to a product based on the amount of stock you currently have, as follows.

    I have 10 items in stock so the template stating that this item is usually dispatched same day is displayed.
    I have 2 items in stock so the template saying this item is expected to go out of stock within 24 hours is displayed.
    I have no stock so the template stating that this item is dispatched within 5 working days is displayed.

    If this is possible then I do appreciate that any change would only take place during an upload but as we upload a few times a day this would still be relatively accurate.

    Any ideas or am I am simply asking for too much?
    Regards

    Jason

    Titan Jewellery (Swift Design)
    Zirconium Rings
    Damascus Steel Rings

    #2
    I'm fairly sure this would be possible by using the StockLevel variable in a blockif

    put a blockif around each of the stock messages so the 10 items blockif would say something like StockLevel > whatever the minimum level you want it to be

    The 2 items in stock you would, I think want StockLevel <=2 and StockLevel >0 (I think!) or there might even be an "IsInStock" variable?

    you might need to trial and error the actual quantities a bit to get the messages appearing when you want them to (and I'm sure if I've got the blockifs back to front someone will tell me LOL)

    but yes, it is possible! but if you do it this way you'll need to add it into each layout (and 200 sounds rather daunting!)
    Tracey

    Comment


      #3
      Bloody hell if you have been managing 200 layouts, doing that will be plain sailing! 200 layouts, what are they all doing, that's horrific, how the hell do you keep tabs on them? I would list what you are doing on these templates, i've seen few circumstances where a maximum of 10 layouts could not serve a site, most can be done in 2 or 3.

      You must be working against actinic to have that many, rather than with it.

      Comment


        #4
        Originally posted by leehack
        200 layouts, what are they all doing, that's horrific, how the hell do you keep tabs on them?
        Sounds like you are still operating the v7 way!

        As Tracey point out you can wrap your "delivery in 10 days" etc text in a block if... remember that the block of text ONLY displays IF the condition is true eg: stock is less than 2 ... you can then have as many block if wrapping different messages (or code) as you need with different conditions ... only the one that is true will be displayed.


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          http://community.actinic.com/showthread.php?t=32069 post #3

          Comment


            #6
            using the stock level variable, it would be possible to use javascript to populate a div area.

            Comment


              #7
              The reason I am using so many templates is to give each group of products its own unique layout with packaging delivery, logos etc. These templates are used as extended info pages but also have unique titles, keywords etc for seo.

              Was a pain to set up but isn't much trouble to maintain.
              Regards

              Jason

              Titan Jewellery (Swift Design)
              Zirconium Rings
              Damascus Steel Rings

              Comment

              Working...
              X