Announcement

Collapse
No announcement yet.

Quantity price text question

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

    Quantity price text question

    Has anyone tried getting the quantity price text ie
    Price: (1 item) £10.00
    Price: (2 to 3 items) £8.50
    Price: (4 or more items) £8.00

    included next to a radio button attribute of a component.ie

    (radio button)Pack 25 Price: (1 item) £10.00
    Price: (2 to 3 items) £8.50
    Price: (4 or more items) £8.00
    This has been constructed as
    Item/ component(link to hidden product and quantity prices)/attribute(Pack size)/choice
    I cannot seem to find how to get the price text from the hidden page into the item page.
    Thanks in advance for any help!

    #2
    All you can do is put the informative text into the HTML for Name field of each Choice. You'll have to remember to keep this manually in sync with thr real price.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Quantity price text question

      Thanks Norman, a font of all knowledge.
      I have reverted to standard product model and am trying a different approach as my client now wants quantity price breaks, ie 1item =£5, 2-3items=£7 & 4-6=£10 on a single product

      Have you put this into a table ie
      1 item| 2-3items| 4-6items
      £5 | £7 | £10

      I have been playing with html in Act_Productline and Act_ProductPrice but can only get a table with 1 column and 6 rows.
      1 item
      £5
      2-3 items
      £7
      4-6 items
      £10
      Code in Act_ProductPrice
      <tr>
      <td width="90"><div align="center">NETQUOTEVARISCOUNT_QUANTITY</div></td>
      </tr>
      <tr>
      <td><div align="center">NETQUOTEVAR:COST</div></td>
      </tr>
      Code in ProductLine
      <table width="90" border="1" cellspacing="0" cellpadding="0">
      <b>NETQUOTEVAR:PRODUCTPRICE</b>
      </table>
      Cannot to seem to get the table rows and columns to form correctly!!!
      Thanks
      Ray

      Comment


        #4
        Try removing the middle

        </tr>
        <tr>

        as this is putting everything on a new row.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Qty price text question

          Thanks Norman but not sure that gives me what I want, sorry.
          Not sure I explained it well enough.
          The quantity/price data pair must be called from somewhere 3 times.eg
          1item / Price
          2-3 items / Price
          4-6 items / Price
          how to get the item description into row 1 columns 1,2 and 3 then get the price into row 2, column 1,2 and 3 is the problem.

          The code above generates the correct formet ie item above price but then on the second loop starts the block again rather than continue the table.

          Comment


            #6
            It works just fine for me. Did you actually try removing that </tr><tr>?

            I used
            Code:
            <!-- ProductPrice HTML begin -->
            <!-- This template is used for the product price text. -->
            
            <tr><td>NETQUOTEVAR:PRICEPROMPT NETQUOTEVAR:DISCOUNT_QUANTITY</td><td>NETQUOTEVAR:COST</td></tr>
            <!-- NETQUOTEVAR:TAXMESSAGE -->
            
            <!-- This template is used for the product price text. -->
            <!-- ProductPrice HTML end -->
            and in the product template
            Code:
            <table border=1>
            NETQUOTEVAR:PRODUCTPRICE
            </table>
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              Quantity price text question

              Hi Norman,
              I have copied your code however it still gives the wrong format. See attached word doc with actual table and my desired layout. Any ideas, I am about done in on this, very frustrating!
              Attached Files

              Comment


                #8
                All I can think of is:
                Code:
                <!-- ProductPrice HTML begin -->
                <!-- This template is used for the product price text. -->
                
                <td><table><tr><td>NETQUOTEVAR:PRICEPROMPT NETQUOTEVAR:DISCOUNT_QUANTITY</td></tr><tr><td>NETQUOTEVAR:COST</td></tr></table></td>
                <!-- NETQUOTEVAR:TAXMESSAGE -->
                
                <!-- This template is used for the product price text. -->
                <!-- ProductPrice HTML end -->
                
                
                and in the Product Template
                
                <table><tr>NETQUOTEVAR:PRODUCTPRICE</tr></table>
                this may be simpler

                Code:
                <!-- ProductPrice HTML begin -->
                <!-- This template is used for the product price text. -->
                
                <td align=center>NETQUOTEVAR:PRICEPROMPT NETQUOTEVAR:DISCOUNT_QUANTITY<br>NETQUOTEVAR:COST</td>
                <!-- NETQUOTEVAR:TAXMESSAGE -->
                
                <!-- This template is used for the product price text. -->
                <!-- ProductPrice HTML end -->
                
                
                and in the Product Template
                
                <table><tr>NETQUOTEVAR:PRODUCTPRICE</tr></table>
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment

                Working...
                X