Announcement

Collapse
No announcement yet.

Clarification on Product setup

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

    Clarification on Product setup

    I've noticed that since I've applied the latest patch(for V6 business), the products I had setup for account customers have 'NETQUOTEVAR:PRICEPROMPT £6.24 Including VAT at 17.5%' displayed instead of an add to cart button, these products were created with the retail pricing fields unchecked and only my created discounted schedule boxes checked.
    However similar products that also have components appear as normal.
    I can get around this by checking the 'enabled' box and leaving the visible box in the 'retail' schedule unchecked.
    Have I been creating these products incorrectly or has something changed?

    I do have items that I only sell wholesale hence not wanting them to appear to non-account customers.

    kind regards

    Steve

    #2
    You are doing this correctly - it looks like something has changed to cause this.

    You can work around this at the moment by, as you say, un-checking 'Product Visible' for the products that you do not want retail customers to buy. For some reason, however, if you un-tick 'Enabled' (and leave 'Visible' ticked) you get the variable appearing.

    I'll report this to the development team right away and hopefully find a workaround for it.

    Comment


      #3
      Here's a workaround to remove the unwanted variable.

      Open Act_ProductPrice.html in Notepad and add the following into the template:

      Edit the template Act_ProductPrice.html and replace NETQUOTEVAR:PRICEPROMPT with...

      <script>
      <!--
      var nqv = "NETQUOTEVAR:" + "PRICEPROMPT";
      var pp = "NETQUOTEVAR:PRICEPROMPT";
      if (pp != nqv)
      {
      document.write(pp);
      }

      // -->
      </script>

      I've tested this and it seems to work well.

      Comment


        #4
        Hello thanks for the workaround however probably due to my lack of knowledge but I still seem to have a problem, my amended Act_ProductPrice.html is below, is there an incorrect syntax gremlin? My latest attempt gave '"; if (pp != nqv) { document.write(pp); } // --> £2.35 Including VAT at 17.5%'


        <!-- ProductPrice HTML begin -->
        <!-- This template is used for the product price text. -->

        <BR><B><Actinic:RETAIL_PRICE_TEXT><script>
        <!--
        var nqv = "NETQUOTEVAR:" + "PRICEPROMPT";
        var pp = "NETQUOTEVAR:PRICEPROMPT";
        if (pp != nqv)
        {
        document.write(pp);
        }

        // -->
        </script>
        </Actinic:RETAIL_PRICE_TEXT>&nbsp;NETQUOTEVARISCOUNT_QUANTITY&nbsp;NETQUOTEVAR:COST</B>&nbsp;<FONT SIZE=-2>NETQUOTEVAR:TAXMESSAGE</FONT>

        <!-- This template is used for the product price text. -->
        <!-- ProductPrice HTML end -->

        Comment


          #5
          type treplacing that 1st <script> with

          <script language=JavaScript>

          Norman
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment


            #6
            Hi thanks but still the same error, file below:

            <!-- ProductPrice HTML begin -->
            <!-- This template is used for the product price text. -->

            <BR><B><Actinic:RETAIL_PRICE_TEXT><script language=JavaScript>

            <!--
            var nqv = "NETQUOTEVAR:" + "PRICEPROMPT";
            var pp = "NETQUOTEVAR:PRICEPROMPT";
            if (pp != nqv)
            {
            document.write(pp);
            }

            // -->
            </script>
            </Actinic:RETAIL_PRICE_TEXT>&nbsp;NETQUOTEVARISCOUNT_QUANTITY&nbsp;NETQUOTEVAR:COST</B>&nbsp;<FONT SIZE=-2>NETQUOTEVAR:TAXMESSAGE</FONT>

            <!-- This template is used for the product price text. -->
            <!-- ProductPrice HTML end -->

            Comment


              #7
              OK. There must be some " characters in your price prompt that's breaking the code. Try using single quotes ' instead of the double quotes " throught the patch.

              I.e.

              var nqv = 'NETQUOTEVAR:' + 'PRICEPROMPT';
              var pp = 'NETQUOTEVAR:PRICEPROMPT';


              Norman
              Norman - www.drillpine.biz
              Edinburgh, U K / Bitez, Turkey

              Comment


                #8
                Hi, I tried single quotes but I'm still getting the same response?

                '; if (pp != nqv) { document.write(pp); } // --> £2.35 Including VAT at 17.5%

                Comment


                  #9
                  Steve

                  Could you send me your Act_ProductPrice.html. Email it to communityadmin AT actinic.co.uk and mark it for my attention.

                  Comment


                    #10
                    Steve

                    Thanks for sending through your templates. I have to say that the customised one worked fine for me.

                    Could you check the following:

                    1) What browser are you using? I have tested this on IE6 and Netscape 7 but you may have a different one. Might you have JavaScript disabled for some reason?

                    2) What operating system are you using?

                    Also, if you could upload your store, or maybe show a screenshot of the error, that would be really helpful.

                    Comment


                      #11
                      Hi Chris have attached a pic of the display.
                      I'm using IE6, Java enabled, Windows XP home

                      thanks

                      Steve
                      Attached Files

                      Comment


                        #12
                        OK - I've now been able to recreate this. I did not realise you had 'Hide Retail Prices' selected for your customer account.

                        I will get back to the development team for an answer.

                        Comment


                          #13
                          As a workaround, within Act_ProductPrice.html replace

                          <Actinic:RETAIL_PRICE_TEXT>

                          and

                          </Actinic:RETAIL_PRICE_TEXT>

                          with

                          <!-- <Actinic:RETAIL_PRICE_TEXT> -->

                          and

                          <!-- </Actinic:RETAIL_PRICE_TEXT> -->

                          I've tested this on my store and it seems to work OK.

                          Comment

                          Working...
                          X