Announcement

Collapse
No announcement yet.

Product price.

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

    Product price.

    Hi,

    Can someone tell me which template controls the product price. I want to change the font colour of the price to bold red.

    e.g Our Price: £379.99 including VAT @17.5%


    P.s I would also like to do the same to the product name

    Thanks in advance

    Nav

    #2
    Hi,

    I think the one you're looking for is Act_ProductPrice.html.

    We control the colour with a separate style in the css file and point to this in the Act_ProductPrice.html template.

    Act_ProductLine.html should help you with the product name (NETQUOTEVAR:PRODUCTNAME).

    Hope this helps.

    Cheers

    IMIS
    IMIS
    www.crombie.co.uk
    www.bonasana.com
    www.discount-aromatherapy.co.uk

    Comment


      #3
      Thanks,
      So how do i remove the css file pointing to the Act_ProductPrice.html so I can edit sizes,colour etc

      Regards
      Nav

      Comment


        #4
        Hi,

        Act_ProductPrice.html should have something like this in it:

        <br><span class="actxsmall"><b><Actinic:RETAIL_PRICE_TEXT>NETQUOTEVAR:PRICEPROMPT</Actinic:RETAIL_PRICE_TEXT>&nbsp;NETQUOTEVARISCOUNT_QUANTITY&nbsp;NETQUOTEVAR:COST</b></span><span class="actxxsmall">NETQUOTEVAR:TAXMESSAGE</span>

        Replace actxsmall with your own class name (e.g. mypriceclass).

        In actinic.css (found in template manager>Misc>CSS Files) add something like:

        .mypriceclass{
        font-family:Arial,Helvetica,sans-serif;
        font-size:10pt;
        text-align: left;
        color: Red;
        }

        You can play around with the settings to get different effects (see http://www.w3schools.com/css/ or any other CSS reference for more info).

        Cheers

        IMIS

        NB All the above assumes that you are working with a theme that uses actinic.css of course.
        IMIS
        www.crombie.co.uk
        www.bonasana.com
        www.discount-aromatherapy.co.uk

        Comment


          #5
          Thanks a great help...

          How do I include a product price is a section template. Can I include a custom properties? If so. How?

          p.s I have a section for each product in my catalogue so my products are displayed as seperate pages on the web.

          I also want to know now, If I can add a separte css style to the NETQUOTEVAR:PRODUCTNAME in my product template. Another example would be great!!

          One more thing, my parent section listing comes up all squeezed up...

          i.e Accessories > CD Changers > Adaptor cables
          & extension leads

          How can I fix this?!

          Thanks again
          Nav

          Comment


            #6
            How do I include a product price is a section template. Can I include a custom properties? If so. How?
            1. First go to 'Advanced | Network Setup'.
            2. Create a new custom property called 'Price' (or something)
            3. Now go to 'Design | Options | Layouts' and click 'Edit' next to the 'Default Section Link Layout' field
            4. Add CUSTOMVAR:PRICE into the template somewhere.
            5. Now you can set a value for 'Price' within the 'Properties' tab of a section. If you are using Business, ensure you select 'Use as CUSTOMVAR'.
            If I can add a separte css style to the NETQUOTEVAR:PRODUCTNAME in my product template. Another example would be great!!
            Just add a new class to the actinic.css file that is something like:
            Code:
            .productname{
            font-family:Arial,Helvetica,sans-serif;
            font-size:10pt;
            text-align: left;
            color: Red;
            }
            and then edit the default product layout template (normally Act_ProductLine.html) and replace
            Code:
            <span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span>
            with
            Code:
            <span class="productname"><b>NETQUOTEVAR:PRODUCTNAME</b></span>

            Comment


              #7
              Hi,

              I'm assuming you mean that you want to have a different price format per section? This being the case then yes, you can create a custom property that you assign at the section level to hold the value of the style you want to use for the formatting. e.g.

              <br><span class="CUSTOMVAR:MYPRICESTYLE">NETQUOTEVAR:PRICEPROMPT
              &nbsp;NETQUOTEVARISCOUNT_QUANTITY&nbsp;NETQUOTEVAR:COSTCUSTOMVAR:SE</span>

              Hope that helps.

              IMIS
              IMIS
              www.crombie.co.uk
              www.bonasana.com
              www.discount-aromatherapy.co.uk

              Comment


                #8
                Were do I look for the above html or do I add it to my section template

                Also will i be able to edit the colour, font size etc

                Nav

                Comment


                  #9
                  Hi,

                  If you're asking about my reply then you find this code in Act_ProductPrice.html as previously discussed.

                  Cheers

                  IMIS
                  IMIS
                  www.crombie.co.uk
                  www.bonasana.com
                  www.discount-aromatherapy.co.uk

                  Comment

                  Working...
                  X