Announcement

Collapse
No announcement yet.

Components - can't be added to cart

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

    Components - can't be added to cart

    Most products in the site have 3 components attached which are optional. No associated product - stock control not used. When attempt is made to order with a component ticked the following error reported:

    "The following product(s) can not be added to the cart.
    You can find the error description(s) by following the link(s).
    Monarch II design 140 Double Brass Band Tankard"

    Have recently upgraded to 12.0.2 from 12.0.1

    Have checked setup of components which have been running for years.

    PS: have found that 1st component works fine, 2nd & 3rd do not, BUT when you select 1st component 2 & 3 work fine with component 1

    #2
    An URL would help.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment


      #3
      Assuming it's this: http://www.pewter.co.uk/acatalog/Mon...d_Tankard.html

      (Found via your portfolio)

      The presentation box option works, the two engraving options don't.

      The first thing I'd do is look to see what's set up differently.

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

      First Tackle - Fly Fishing and Game Angling

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

      Comment


        #4
        Further update

        URL is correct for website concerned. Have found that ordering first component works (as mentioned) but 2nd and 3rd don't. But if you order 2nd and / or 3rd with the 1st component they do all work OK.

        I have been through all products since writing the post, standardised all component settings ('Is Optional' ticked, other 2 boxes unticked, (none) in associated products. 'revert to factory settings on 'Standard Component Layout' and 'Component Layout' carried out.
        Following website refresh no change to problem mentioned.

        In Design, 'Click here to see errors' is highlighted, 'A javascript error has been found on the page (''$' is undefined) -not sure how to take that further.

        Comment


          #5
          Try doing a 'compact and repair database'. This often helps if there's an error in the database.

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

          First Tackle - Fly Fishing and Game Angling

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

          Comment


            #6
            There was a bug fix in 12.0.2: "Resolved a problem that prevented the second of two optional components from being ordered, SD-1718". Check your ActinicOrder.pm is using the default - it can be copied from "C:\Program Files\SellerDeck 2013\Original" to your "Site1" installation folder.
            Peblaco

            Comment


              #7
              Thanks to all for the help - all well now - the answer was in the ActinicOrder.pm file

              Comment


                #8
                You're still getting JavaScript errors. This is because you've not fully implemented this bit from the Engraving ReadMe:


                Go to Design / Library / Layouts / JavaScript Header Functions / Standard Javascript Header Functions
                Scroll to the bottom and after all existing code add the following:
                Code:
                <!-- Engraving setup -->
                <script type="text/javascript">
                	if ( typeof(jQuery) == 'undefined' ) document.write('<script type="text/javascript" src="jquery-1.8.3.min.js"></sc' + 'ript>');
                </script>
                <script type="text/javascript" src="textfieldsupport.js"></script>
                You seem to have only the last line present.
                Norman - www.drillpine.biz
                Edinburgh, U K / Bitez, Turkey

                Comment


                  #9
                  Many thanks for that Norman - I have now added that code to the file you mention

                  The last few lines now read:

                  <actinic:variable value="Google Analytics Tracking Code Split SSL" name="GoogleAnalyticsMarkup" selectable="false" />

                  <!-- Engraving setup -->
                  <script type="text/javascript">
                  if ( typeof(jQuery) == 'undefined' ) document.write('<script type="text/javascript" src="jquery-1.8.3.min.js"></sc' + 'ript>');
                  </script>
                  <script type="text/javascript" src="textfieldsupport.js"></script>

                  I didn't see the last line already there. I have uploaded the site again and it continues to work OK, though Sellerdeck 12 0 2 continues to highlight Javascript errors '$ is undefined in 2 places.' Clicking on the error report line doesn't actually take me to the places where the error occurs.

                  Comment


                    #10
                    Make sure the file jquery-1.8.3.min.js is within your Site1 / installation folder, follow the instructions from the engraving files about adding this, because it has not been uploaded to your server and is reporting a missing file. Then publish again.
                    Peblaco

                    Comment


                      #11
                      adding file did the trick

                      Many thanks for the information. I found a copy of the file you mention on the Internet which has had the desired affect of losing the coding errors message in Sellerdeck software.

                      Comment

                      Working...
                      X