Announcement

Collapse
No announcement yet.

Bug: ProductPriceRaw doesn't update in Duplicates.

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

    Bug: ProductPriceRaw doesn't update in Duplicates.

    Problem (in 10.0.2): If you create a Duplicate of a product and later change the price of the original, the ProductPriceRaw variable does not change.

    Demo:

    Use standard site. Amend layout "Standard Layout using CSS" to add the line:
    Code:
    <br/>Raw: <actinic:variable name="ProductPriceRaw" /><br/>
    Now create a new section "Duplicate Cameras".

    Go to the Cameras Section, select both products and choose "Copy".

    Right-click the Duplicate Cameras section and choose "Paste As Duplicate".

    Look at both sections and you'll see matching product prices and the Raw: £n.nn display.

    Now go to the original Cameras section and change one of the product prices.

    Switch to the Duplicate Cameras section and you'll now see the old price displaying under Raw: £n.nn.

    UPDATE: Bug is also in 9.0.5 but isn't in 8.5.3.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    #2
    Hi Duncan,

    I've never used duplicates but if you change something in the original do you not have to 'update duplicates'?

    Mike
    -----------------------------------------

    First Tackle - Fly Fishing and Game Angling

    -----------------------------------------

    Comment


      #3
      Mike,

      Yes. There's a Reset Duplicates button and this will fix the ProductPriceRaw variable.

      But as this variable can never be different from the basic product price, it should really be updated automatically.

      Problem isn't in V8.5.3 but is in 9.0.5 and V10. So some consistency would be best.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Unticking Modifiable in Duplicate in Settings > Duplicate Fields should resolve


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment


          #5
          Jont,

          ProductPriceRaw isn't available in that list. It's an internal variable. Ther product prices are never tweakable in duplicates.

          That's why it's important that it automatically changes to follow the main product. You can't see it anywhere but it may be working behind the scenes doing something (like being part of a RRP discount calculation).
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            True - just read the list and it is Price Prompt not just the price.


            Bikster
            SellerDeck Designs and Responsive Themes

            Comment


              #7
              It is working correctly in v10.0.1

              Edit:

              Upgraded to v10.0.2 and it's not working
              Last edited by jont; 13-Sep-2010, 04:11 PM. Reason: Edit


              Bikster
              SellerDeck Designs and Responsive Themes

              Comment


                #8
                Originally posted by olderscot View Post
                Hi Duncan,

                I've never used duplicates but if you change something in the original do you not have to 'update duplicates'?

                Mike
                Hi Simon - that's Norman not Duncan

                Comment


                  #9
                  productpriceraw hasn't been updating since v903!

                  I've been reporting all sorts of things which don't update at duplicates since then...

                  http://community.actinic.com/showpos...6&postcount=46


                  True you can reset the duplicate, but then everything you may have changed at the duplicate resets too.

                  Comment


                    #10
                    Hi Simon - that's Norman not Duncan
                    AFFS.

                    Sorry. My brain just throws a wobbly at trying to suggest that Norman's missed something.

                    Mike
                    -----------------------------------------

                    First Tackle - Fly Fishing and Game Angling

                    -----------------------------------------

                    Comment


                      #11
                      Here's my hideously long hack. Say you intend to use:
                      Code:
                      <actinic:variable name="ProductPriceRaw" />
                      Instead you have to use:
                      Code:
                      <actinic:block php="true">
                      	$prprice = 0;
                      	<actinic:block type="PriceList" />
                      		<actinic:block if="%3cactinic%3avariable%20name%3d%22ListIndex%22%20%2f%3e%20%3d%3d%201" >
                      			$prprice = preg_replace('/[^0-9]/','','<actinic:variable name="TaxExclusivePrice" encoding="perl" selectable="false" />');
                      			$prprice = $prprice / pow(10, <actinic:variable name="CurrencyDigits" />);
                      		</actinic:block>
                      	</actinic:block>
                      	echo $prprice;
                      </actinic:block>
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        Where do we change the script in Actinic? As I am having my numerous duplicate RRP not amending when I do my price update each week!

                        Neil

                        Comment


                          #13
                          were you use productpriceraw change this to the above code

                          Comment


                            #14
                            numerous duplicate RRP not amending
                            This tweak is for the ProductPriceRaw variable. Not for anything else.
                            Norman - www.drillpine.biz
                            Edinburgh, U K / Bitez, Turkey

                            Comment

                            Working...
                            X