Announcement

Collapse
No announcement yet.

Help with a blockif please!

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

    Help with a blockif please!

    Hiya

    Does anyone know if there's a blockif I can write which will test to see whether the product being viewed has been bought with anything else?

    I can test to see if alsobought lists are enabled or not but I haven't found a way of controlling the output on whether one item has 1 or more other 'also bought' items?

    Thanks

    Jos
    Thanks

    Jos Medinger

    Tel : 01978 843 962
    www.internetology.co.uk
    Actinic / E-Commerce Hosting, Design & SEO
    ______________________________________

    #2
    So if viewing product A :

    Product A
    also bought Product X and Product Y (as standard)

    .. and Product X
    also bought Product 1 and Product 2

    .. then for Product A :

    also bought Product X, Product Y, Product 1 and Product 2

    Is that what you are after?


    Bikster
    SellerDeck Designs and Responsive Themes

    Comment


      #3
      no...

      All I want is a blockif command that filters based on whether a product has any other products showing as 'Also bought' with it

      That way, if there are any, I show the code, if there aren't any, I don't show any code at all

      Jos
      Thanks

      Jos Medinger

      Tel : 01978 843 962
      www.internetology.co.uk
      Actinic / E-Commerce Hosting, Design & SEO
      ______________________________________

      Comment


        #4
        Isn't that the way it works from the box? If an also bought product is declared in marketing the list shows ... if the also bought list is empty it does not show


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          If you want to add code in the product layout that will only be inserted if the also bought is not empty use

          HTML Code:
          <actinic:variable name="ProductAlsoBoughtList" />  != ""
          as the blockif condition around your html code or layout


          Bikster
          SellerDeck Designs and Responsive Themes

          Comment


            #6
            Jont

            That's worked a treat - tyvm

            Jos
            Thanks

            Jos Medinger

            Tel : 01978 843 962
            www.internetology.co.uk
            Actinic / E-Commerce Hosting, Design & SEO
            ______________________________________

            Comment

            Working...
            X