Announcement

Collapse
No announcement yet.

Extracting NQV:COST from Act_ProductPrice.html

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

    Extracting NQV:COST from Act_ProductPrice.html

    I want to use NQV:COST twice in my product template Act_CentreProductline.html.

    Its already part of Act_ProductPrice.html ...... great, but I would like to show the price only elsewhere on that product template.

    HTML Code:
    <!-- ProductPrice HTML begin -->
    <!-- This template is used for the product price text. -->
    
    <br><b> NETQUOTEVAR:PRICEPROMPT &nbsp;NETQUOTEVAR:DISCOUNT_QUANTITY&nbsp;NETQUOTEVAR:COST</b>&nbsp;<span class="actxxsmall">NETQUOTEVAR:TAXMESSAGE</span>
    
    <!-- This template is used for the product price text. -->
    <!-- ProductPrice HTML end -->
    But the NQV,
    HTML Code:
    NETQUOTEVAR:COST
    does not seem to work outside of Act_ProductPrice.html?

    Is there another way ?

    Thanks, S.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    #2
    Anyone ?

    I could use a CUSTOMVAR, but that would mean duplicating price entries which seems silly ?

    Why doesn't the NQV, NETQUOTEVAR:COST, work in other templates ?

    Help, Simon.
    esafetysigns.co.uk
    your instant download portal for self printable health and safety signs and posters
    ... download once use as many times as you like !


    http://www.esafetysigns.co.uk/index.html
    http://www.esafetysigns.co.uk/acatalog/index.html

    Comment


      #3
      Not all NQV will be transportable from one template to another.

      There is a complete list of NQV in the advanced user guide downloadable from the Download section on the Actinic website

      Comment


        #4
        Any idea how I can achieve the same result, i.e. displaying the cost in the product template ?

        #1 once using the conventional Act_ProductPrice.html, and
        #2 some other way, that unlike Act_ProductPrice.html, does not include the NQV's

        Code:
        NETQUOTEVAR:PRICEPROMPT
        NETQUOTEVAR:DISCOUNT_QUANTITY
        NETQUOTEVAR:TAXMESSAGE
        What could be the "some other way".

        Could I create a CUSTOMVAR automatically picking up the NQV:COST, that can be seen in other templates?

        Thanks, S?
        esafetysigns.co.uk
        your instant download portal for self printable health and safety signs and posters
        ... download once use as many times as you like !


        http://www.esafetysigns.co.uk/index.html
        http://www.esafetysigns.co.uk/acatalog/index.html

        Comment


          #5
          Hi Simon,

          Like Jo has mentioned, not all NETQUOTEVARS are transportable and as NETQUOTEVAR:COST is not a global variable, it might not work in other templates. The variable NETQUOTEVAR:PRODUCTPRICE brings in the values from the template Act_ProductPrice.html in to Act_ProductLine.html and hence I am afraid that it is not possible to bring in just the NETQUOTEVAR:COST in to the product template. Can you please tell me why exactly you want the COST to be displayed in the product template.

          Kind regards,
          __________________
          Sivakami
          Actinic Software
          Regards,
          Sivakami.C

          Actinic Software
          www.actinic.co.uk
          www.actinic.com
          http://knowledge.actinic.com/

          Comment


            #6
            My reasons for wanting to do this is that i would like to display Price twice in my Product Details, once formally including tax message, and once as a instantly visual eye catching part of my product template?

            E.g.
            #1 £1.95 (Exc VAT at 17.5%)
            and
            #2 £1.95

            Not sure if this is possible but its just dawned on me that I could COPY Act_ProductPrice.html and call it My_ProductPrice.html, and simply remove,
            Code:
            NETQUOTEVAR:DISCOUNT_QUANTITY
            NETQUOTEVAR:TAXMESSAGE
            from it ?

            And then add?? .... oh?? How do I call My_ProductPrice.html in a template, in a similar manner to how Act_ProductPrice.html is called using NQV:PRODUCTPRICE

            Help? S.
            esafetysigns.co.uk
            your instant download portal for self printable health and safety signs and posters
            ... download once use as many times as you like !


            http://www.esafetysigns.co.uk/index.html
            http://www.esafetysigns.co.uk/acatalog/index.html

            Comment


              #7
              Maybe there's a way to change the Act_ProductPrice template to include some js that can store NQV:COST as a variable, then it can be referred to/written later if desired in a modified Act_ProductLine template.

              Comment


                #8
                See http://community.actinic.com/showthread.php?t=2901 where I posted regarding this.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment

                Working...
                X