Announcement

Collapse
No announcement yet.

RRP Price, Your Price, then Save £xxx ??

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

    RRP Price, Your Price, then Save £xxx ??

    Hi

    I have had a good look through the forum, I can see code on how to show a saving on the RRP price, but I would really like to show a logged in customer how much they are saving by being a registered customer, i.e:

    RRP Price £25.00
    Your Price £22.00
    You Save: £3.00

    Any idea how I can get that pesky 3rd line there to show up without having to manually enter the saving in - I have various discount levels for different logged in customers so this wouldnt work.

    As there are active variables displaying on the product page there must surely be a way, but I am scratching my balding head on this one?

    Many thanks,

    ScottyDog
    www.edgeandwax.co.uk
    Edge & Wax
    Ski & Snowboard Workshop

    #2
    please, search the knowledge base. its the big *obvious* link in the top right of this page:

    http://kb.actinic.com/activekb/search/RRP

    Comment


      #3
      Tank you for your input, yes, I am aware of that, even with my dodgy vision.

      Thanks anyway for taking the time,

      ScottyDog
      www.edgeandwax.co.uk
      Edge & Wax
      Ski & Snowboard Workshop

      Comment


        #4
        i'm only kidding scotty, i had to search it, and the forum too,

        Comment


          #5
          No worries, just spent 2 hours trying to find and am going round in circles. I can find how to do it if you are showing one price, but not when you are showing a retail price and an customer group (trade) price.

          Pesky trade customers!

          Scottydog
          www.edgeandwax.co.uk
          Edge & Wax
          Ski & Snowboard Workshop

          Comment


            #6
            off the top of my head you will need encapuslate code with
            Code:
            <Actinic:NOTINB2B>.....</Actinic:NOTINB2B>
            "If my answers frighten you then you should cease asking scary questions"

            Comment


              #7
              i'v never really used group prices, so, you might want to have a chat with support about this, or perhaps wait till someone comes along, who knows more, apologies for not being any more help.

              Comment


                #8
                Also, have a look at the layouts under 'Prices for customer accounts'.
                There is code there you could use
                "If my answers frighten you then you should cease asking scary questions"

                Comment


                  #9
                  will do , many thanks!
                  www.edgeandwax.co.uk
                  Edge & Wax
                  Ski & Snowboard Workshop

                  Comment


                    #10
                    Code:
                    RRP £<actinic:variable name="RRP" /><br />
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e" >
                    			<p class="product-price">
                    				<Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductID" />" COMPONENTID=-1><actinic:variable name="RetailCustomerMessage" /></Actinic:PRICE_EXPLANATION>
                    			</p>
                    		</actinic:block>
                    		<actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e" >
                    			<p class="product-price">
                    				<Actinic:PRICES PROD_REF="<actinic:variable name="ProductID" />" RETAIL_PRICE_PROMPT="<actinic:variable name="ProductPriceDescription" />">
                    				<actinic:variable name="PriceListRetail" />
                    				</Actinic:PRICES>
                    			</p>
                    		</actinic:block>
                    		<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
                    			<p class="product-price">
                    				<Actinic:NOTINB2B><actinic:variable name="ProductPriceNotEnabledMessage" /></Actinic:NOTINB2B>
                    			</p>
                    		</actinic:block>
                    <span style="color:red;">		
                    <actinic:block php="true">
                    $rrp = <actinic:variable name="RRP" selectable="false" />;
                    $rawprice = <actinic:variable name="ProductPriceRaw" selectable="false" />;
                    $rawprice = $rawprice * 1.2; // add in vat if showing VAT inc prices
                    // only display is we have an RRP and there's a saving to show
                    if ( ($rrp != 0) && ($rrp > $rawprice) )
                    {
                    $saveprice = round($rrp - $rawprice);
                    echo "you save £$saveprice";
                    }
                    </actinic:block></span>
                    Jonathan Chappell
                    Website Designer
                    SellerDeck Website Designer
                    Actinic to SellerDeck upgrades
                    Graphicz Limited - www.graphicz.co.uk

                    Comment

                    Working...
                    X