Announcement

Collapse
No announcement yet.

variable 'productID' is not defined (7632 times)..... HELP!!!

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

    variable 'productID' is not defined (7632 times)..... HELP!!!

    Hi,

    I have searched the forum and cant find any references to this error message.

    I have just changed my site from executive to smart. On my first attempt to upload the new design I am getting an error message:

    variable 'productID' is not defined (7632 times)
    variable 'productID' is not defined (7632 times)
    variable 'productID' is not defined (7632 times)
    variable 'productID' is not defined (2544 times)
    variable 'productID' is not defined (2544 times)
    variable 'productID' is not defined (2544 times)

    In the design tab actinic seems to have highlighted the code:

    <actinic:variable name="CookieCartValueLabel" />

    in the 'Shopping Cart Summary In Box' layout code.

    Can anyone shed any light on what might be causing the problem (unfortunatley you wont be able to see the new site design/code as I am unable to upload) - any ideas would be much appreciated.

    Cheers,
    Aileen.
    www.reelsndeals.com

    #2
    What version (Help / About) of Actinic are you using?
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Hi,

      I am using version 8.0.2.0.0.0

      I have located where the problem is. I had added the following code to the best seller and new product layout.

      <p class="text_product_small_info_heading"><actinic:variable name="ProductName" />
      </p> <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr align="left" valign="top">
      <td width="75">
      <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductImageFileName%22%20%2f%3e%20%21%3d%20%22%22">
      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>
      <img style="border: 0;" src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" encoding="strip"/>" />
      </a>
      </actinic:block></td>
      <td>
      <p class="text_product_small_info_price">
      <Actinic:PRICES PROD_REF="<actinic:variable Name="ProductID" />
      <actinic:variable value="Marketing Price List" name="PriceListRetail" />
      </Actinic:PRICES>
      </p>
      <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable Name="ProductID" /><actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>More Info</a></p>
      </td>
      </tr>
      </table>

      I wanted a thumbnail image, price and a More Info link to the product. I have replaced this with the standard html and managed to upload OK.

      Can anyone see any obvious mistakes in the code?

      also, maybe this thread should be moved to a different forum now - I'm not sure how to do that...

      Thanks in advance for any help.

      Aileen.
      www.reelsndeals.com

      Comment


        #4
        I am using version 8.0.2.0.0.0
        Upgrade to the latest version as that version is full of bugs.

        Comment


          #5
          Hi Aileen,

          I have put the best seller layout code you posted into my copy of Actinic and it didnt seem to generate any coding errors.

          Please can you advise if you tried upgrading the site as I believe this could be due to a bug with product ID's in early v8 versions?
          Paul Murphy
          Operations Manager - SellerDeck

          Comment


            #6
            Hi,

            Yes - we discovered that it was due to the variable name change from Product Reference to ProductID. We did upgrade, but since we use a seperate stock control program (Khaos) which has been set up to export to actinic, using the ProoductReference variable name, we have had to uninstall V8.5.1 and go back to the original version we were using. Other than having some re-programming done to our export by the Khaos team, can anyone suggest a way round this, as I am keen to use the most up to date version of Actinic available.

            Also, just an idea, but it might be worth warning folks about the name change before they download the upgrade - it took us a good few days to get back up and running again.

            Aileen.
            www.reelsndeals.com

            Comment

            Working...
            X