Announcement

Collapse
No announcement yet.

Items Price Disappears

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

    Items Price Disappears

    Hello

    I've just upgraded from V14 to V16.03. Uploaded it to a live test site as below, all appears to be fine so far except the item price is visible for about 1 second then it completely disappears. I've never seen anything so weird

    V14 is fine. I've purged, refreshed, deleted it all and uploaded several times to no avail. Has anyone come across this before?

    Thanks

    https://www.doorentryonline.uk/index.html

    #2
    I looks like the following code is missing from layout Standard JavaScript Header Functions:
    Code:
    	<script type="text/javascript">
    		var g_oConfig = <actinic:variable name="SiteJavascript" selectable="false" />;
    	</script>
    Locate Standard JavaScript Header Functions in the Library, right-click it and choose Compare With Previous Version. This may give you an indication of where to fix it.

    Restoring to Factory settings is also an option but you may have some custom lines near the bottom as you have some of my add-ons.

    You can also right-click and Copy the layout before making any changes to ensure you have a backup.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Thanks so much Norman

      I think there are some issues with what should be a simple task of clicking "Snapshot/Import Site" and expect the same results, alas not with me as usual, perhaps many other customers as well

      I can't find the code above in any of the script you mentioned in the "Standard JavaScript Header Functions" in either, or in V14

      Thankfully, I have V16.03RBUC running completely separate from my V14.03PIDE so at least I can play around with it despite not really understanding why it always goes "Belly Up"

      (Because I'm not getting rid of your add-ons for love nor money :-)!!)

      Comment


        #4
        Copy / Paste the code from Standard JavaScript Header Functions to a reply here.

        Put it between [ code ] and [ /code ] tags for clarity (type them without the internal spaces).
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          CODE - SD forum will not allow me to post [ code ] The below is from my imported snapshot from V14.01 to V16.03


          <script type="text/javascript" src="jquery-1.11.1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsCompressionEnabled%22%20%2f%3e">.min</actinic:block>.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>
          <script type="text/javascript" src="jquery.bxslider<actinic:block if="%3cactinic%3avariable%20name%3d%22IsCompressionEnabled%22%20%2f%3e">.min</actinic:block>.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>
          <link href="jquery.bxslider.css" rel="stylesheet" type="text/css" />

          <actinic:block php="true" invariant="true" >
          //
          // If there is a compressed version of the SellerDeck JavaScript files available then use it but
          // only if it has been generated after the latest modified JavaScript file.
          //
          $bMinUsed = false;
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCompressionEnabled%22%20%2f%3e">
          //
          // This code is skipped if compression is turned off
          //
          if (file_exists("sellerdeck.min.js"))
          {
          $SDMinScriptTime = filemtime("sellerdeck.min.js");
          if ($SDMinScriptTime > max(filemtime("actiniccore.js"),
          filemtime("actinicextras.js"),
          filemtime("actinicsearch.js"),
          filemtime("responsive.js"),
          filemtime("dynamic.js"),
          filemtime("recentproductssupport.js")))
          {
          echo '<script type="text/javascript" src="sellerdeck.min.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          $bMinUsed = true;
          }
          }
          </actinic:block>
          if (!$bMinUsed)
          {
          echo '<script type="text/javascript" src="actiniccore.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          echo '<script type="text/javascript" src="actinicextras.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          echo '<script type="text/javascript" src="actinicsearch.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          echo '<script type="text/javascript" src="responsive.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          echo '<script type="text/javascript" src="recentproductssupport.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          echo '<script type="text/javascript" src="dynamic.js<actinic:block if="%3cactinic%3avariable%20name%3d%22ECDayno%22%20%2f%3e%20%21%3d%20%22%22" >?DAYNO=<actinic:variable name="ECDayno" selectable="false" /></actinic:block>"></script>';
          }
          </actinic:block>
          <script type="text/javascript">
          $(document).ready(function() {
          SD.Responsive.CallFunctions();

          function PrependFragment() {
          $(".fullWidthSection .aboveAll").prependTo(".content-area");
          $(".aboveAll").insertBefore(".fragment-list");
          }
          function AppendFragment() {
          $(".fullWidthSection .belowAll").appendTo(".content-area");
          $(".belowAll").insertAfter(".fragment-list");
          }
          PrependFragment();
          AppendFragment();
          $(".fullWidthSection:empty").remove();


          });
          </script>
          <actinic:block if="%3cactinic%3avariable%20name%3d%22RecentlyViewedListIsEnabled%22%20%2f%3e%20%3d%3d%20TRUE" >
          <actinic:variable name="RecentProductsConfiguration" />
          </actinic:block>

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%21%3d%20%22Contact%20Us%22" >
          <actinic:variable value="Script for Blocking Unregistered Customers" name="UnregCustomerMessage" if="%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20FALSE" selectable="false" />
          </actinic:block>

          <!-- Placeholder of cookie checking javascript code. Do not remove it! -->
          <Actinic:COOKIECHECK />

          <script type="text/javascript">
          <!--
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e">var pg_sShopID = '<actinic:variable name="ShopID" />';</actinic:block>
          var pg_sSearchScript = "<actinic:variable name="OnlineScriptURL" value="Search Script URL" />";
          var pg_sCustomerAccountsCGIURL = '<actinic:variable name="CustomerAccountsCGIURL" />';
          <actinic:block if="%3cactinic%3avariable%20name%3d%22SearchUseProductThumbnail%22%20%2f%3e" >
          var pg_nProductImageWidth = parseInt("0<actinic:variable name="SearchProductThumbWidth" />", 10);
          var pg_nProductImageHeight = parseInt("0<actinic:variable name="SearchProductThumbHeight" />", 10);
          </actinic:block>
          var pg_bEnableFilterCount = parseInt("0<actinic:variable name="IsSearchFilterCountsEnabled" />", 10);
          var pg_sDefaultSortOrder = "<actinic:variable name="SearchSortDefaultOrder" />";
          var pg_sSortOrdersPrependedToProdRefs = "<actinic:variable name="SearchSortOrder" />";
          var pg_sSearchValidWordCharacters = '<actinic:variable name="SearchValidWordCharacters" />';
          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27Section%27" >
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsFilteringEnabled%22%20%2f%3e" >
          var pg_arrayProperties = [<actinic:variable name="FilterPropertyListArray" />]; // properties
          var pg_arrayPriceBandValues = [<actinic:variable name="FilterPriceBandListArray" />]; // price band values
          var pg_arrayPriceBandRange = [<actinic:variable name="FilterPriceBandRange" />]; // price band ranges
          var pg_arrayPropertyName = [<actinic:variable name="FilterPropertyNameListArray" />]; // property names
          var pg_arrayDefaultProperties = [<actinic:variable name="FilterPropertyDefaultListArray" />]; // default choice list
          var pg_bHideChoiceWithZeroResults = <actinic:variable name="HideChoiceWithZeroResults" />; // hide choice with zero results
          var pg_arrayFilterSections = [<actinic:variable name="FilterSectionListArray" />]; // filter section list
          var pg_bSearchBySubSection = <actinic:variable name="IsSearchBySubSectionsEnabled" />; // search by sections
          var pg_nCurrentFilterSectionID = <actinic:variable name="SectionID" />; // current filter section id
          var pg_bFilterDefaultView = <actinic:variable name="IsFilteringPageAsDefaultView" />; // filter as default view?
          var pg_nSearchResultsLimit = parseInt("0<actinic:variable name="SectionPaginationProductsPerPage" />", 10);
          var pg_bShowFullPageInPagination = <actinic:variable name="SectionPaginationIncludeFullPage" />;
          var pg_bFilteringCacheEnabled = <actinic:variable name="FilteringCacheEnabled" />;
          var pg_nUploadReferenceNumber = <actinic:variable name="UploadReferenceNumber" />;
          var pg_sDefaultProductImage = '<actinic:variable name="DefaultProductImage" />';
          var pg_bShowProductFeedback = <actinic:variable name="CustomerFeedbackEnabled" /> && <actinic:variable name="DisplayProductFeedback" />;
          </actinic:block>
          </actinic:block>
          <actinic:block if="%3cactinic%3avariable%20name%3d%22IsSSLUsedForEssentialPages%22%20%2f%3e" >
          if (document.location.href.match(/#logout$/))
          {
          SetBusinessCookies();
          }
          </actinic:block>
          saveReferrer();
          // -->
          </script>

          <actinic:block if="%28%28%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%27PSP%20Bounce%20Page%27%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsPSPTestMode%22%20%2f%3e%20%3d%3d%20false%29%29" >
          <script type="text/javascript">
          <!--
          function onLoad()
          {
          document.formOCC.submit();
          }
          // -->
          </script>
          </actinic:block>

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Checkout%20Page%200%22%20%7c%7c%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Add%20To%20Cart%20Confirmation%22%20%7c%7c%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22My%20Account%20Page%22" >
          <actinic:variable name="Javascript Country State Maps" selectable="false" />
          </actinic:block>

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
          <actinic:variable name="JavascriptSectionStockQuery" selectable="false" />
          <script type="text/javascript">
          setCookie('LAST_SECTION_URL', document.location.href);
          </script>
          </actinic:block>

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22" >
          <actinic:variable name="JavascriptProductStockQuery" selectable="false" />
          <script type="text/javascript">
          AttachEvent(window, "load", ShowBackLink);
          </script>
          </actinic:block>

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22My%20Account%20Page%22%20AND%20%21%3cactinic%3avariable%20name%3d%22IsPreviewMode%22%20%2f%3e" >
          <script type="text/javascript">
          if (!IsLoggedIn() && GetScriptPrefix() == 'ma')
          {
          document.location.href = '<actinic:variable name="LoginPageURL" selectable="false" />';
          }
          </script>
          </actinic:block>

          <actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%20or%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
          <actinic:variable name="DynamicChoicesPrices" selectable="false" />
          </actinic:block>
          <actinic:variable value="Google Analytics Tracking Code Split SSL" name="GoogleAnalyticsMarkup" selectable="false" />
          <actinic:variable name="TabberSetup" />
          <actinic:variable name="Lightbox" value="LightBox Support" />

          <actinic:variable name="BTO_Setup" value="BTO Setup1" />

          CODE

          Comment


            #6
            Look near the bottom for:
            Code:
            	<actinic:block if="%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Product%20Page%22%20or%20%3cactinic%3avariable%20name%3d%22PageType%22%20%2f%3e%20%3d%3d%20%22Section%22" >
            		<actinic:variable name="DynamicChoicesPrices" selectable="false" />
            	</actinic:block>
            And immediately above it put:
            Code:
            	<script type="text/javascript">
            		var g_oConfig = <actinic:variable name="SiteJavascript" selectable="false" />;
            	</script>
            P.S. I just typed [ code ] and [ /code ] twice above (but without the spaces) so it works fine, preserves the correct indentation, and makes the code readable.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              I'm floored !!!

              I'm lost for words to your utter skill, talent and help in general and towards people on this forum

              Your time just by looking at the code that I and perhaps others had no idea about is exceptional

              Your "Simple" answer works Norman, I'm more than grateful and like other very decent and clever people on here, I just want to make it known

              I thank you so much

              Comment

              Working...
              X