Announcement

Collapse
No announcement yet.

Can I have 2 different ACT_PRODUCTPRICE templates?

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

    Can I have 2 different ACT_PRODUCTPRICE templates?

    Can I have 2 different ACT_PRODUCTPRICE templates?

    On most pages, with qty discounts my product prices are laid out like this (image the columns line up) -
    1 £145.00 (£170.38 inc VAT)
    2 to 5 £140.00 (£164.50 inc VAT)
    6 to 9 £135.00 (£158.63 inc VAT)
    10 or more £130.00 (£152.75 inc VAT)
    But for some new products I want to build the prices into a table, with the price like this -

    145.00 140.00 135.00 130.00
    So is this possible, either by having 2 templates or some other method?
    John

    #2
    i would imagine so, but i'd guess that you might need different product templates to call them

    Comment


      #3
      But the product template calls the price using "NETQUOTEVAR:PRODUCTPRICE", so I'm not sure how that would work?
      John

      Comment


        #4
        could you create a customvar?

        Comment


          #5
          I would say that it might be worthwhile upgrading to V9 as this would be simple in the newer version rather than tackling this in V7 with CUSTOMVARS.
          Fergus Weir - teclan ltd
          Ecommerce Digital Marketing

          SellerDeck Responsive Web Design

          SellerDeck Hosting
          SellerDeck Digital Marketing

          Comment


            #6
            I think a customvar solution would be a lot quicker and simpler than upgrading to v9, but I'm not sure how it would work - what would the customvar contents be...?
            John

            Comment


              #7
              Originally posted by jxm28788
              what would the customvar contents be...?
              If you wanted the following:

              Originally posted by jxm28788
              1 £145.00 (£170.38 inc VAT)
              2 to 5 £140.00 (£164.50 inc VAT)
              6 to 9 £135.00 (£158.63 inc VAT)
              10 or more £130.00 (£152.75 inc VAT)
              then this is what the customvar contents would need to be. i.e. setting it for every product individually, and updating each one anytime there was a change in price - hence why, in the long term, it may be more time efficient using V9.
              Fergus Weir - teclan ltd
              Ecommerce Digital Marketing

              SellerDeck Responsive Web Design

              SellerDeck Hosting
              SellerDeck Digital Marketing

              Comment


                #8
                oh I missunderstood the earlier post. I though it meant to use the customvar to call the separate template...
                John

                Comment


                  #9
                  You could run an export > excel to change > import to update the prices but as Fergus says this is a real pain and the cost of upgrading to v9 would soon look like peanuts in comparison of maintaining the prices manually.


                  Bikster
                  SellerDeck Designs and Responsive Themes

                  Comment


                    #10
                    For now I have used the old method with my new products, when I get time I think I will just update all products to the 'new look'... seems like the only way. guess it will at least be consistant for the user...
                    John

                    Comment


                      #11
                      There's a possible kludgy way. Copy your product template to a new file. Amend that to replace

                      NETQUOTEVAR:PRODUCTPRICE

                      with

                      <script type="text/javascript">
                      $pricehtml = 'NETQUOTEVAR:PRODUCTPRICE';
                      // Javascript here to alter and format $pricehtml as required
                      document.write($pricehtml);
                      </script>

                      And use this new product template only for such items.

                      You may need to have CompactHTML/CGI checked so that NETQUOTEVAR:PRODUCTPRICE doesn't contain any troublesome newlines.
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment

                      Working...
                      X