Announcement

Collapse
No announcement yet.

Codepath SPP Plugin

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

    #16
    Back to your OP, I think the basic answer is that you can only get support from Codepath for their plug-in. Otherwise go back to a snapshot where you know it was working.

    However Jo & Lee suggested alternative ways to handle the duplicates which then sparked the discussion.
    Alan Johnson

    Quality Parrot Cages & Accessories by Parrotize UK
    Pet Accessories by Animal Instinct

    Comment


      #17
      To check whether the plugin is causing the issue, create a duplicate in a non generated section and see if the same problem occurs (duplicate one of the ones showing the problem already).

      There used to be a bug a while ago where this happened, it was when the parent product was hidden on web site (or it's section was) but the duplicate wasn't - is this how you have it set up? If so the workaround was to put the duplicate in the hidden section and unhide the master product.

      Regards,
      Jan Strassen, Mole End Software - Plugins and Reports for Actinic V4 to V11, Sellerdeck V11 to V2018, Sellerdeck Cloud
      Visit our facebook page for the latest news and special offers from Mole End

      Top Quality Integrated label paper for Actinic and Sellerdeck
      A4 Paper with one or two peel off labels, free reports available for our customers
      Product Mash for Sellerdeck
      Link to Google Shopping and other channels, increase sales traffic, prices from £29.95
      Multichannel order processing
      Process Actinic, Sellerdeck, Amazon, Ebay, Playtrade orders with a single program, low cost lite version now available from £19.95

      Comment


        #18
        If none of that solves it, try resetting the duplicate, either on the duplicate itself or on the original product (there's a button). I seem to recall a problem mentioned in the past where the original and duplicate somehow lost the relationship to each other, this solved it. Try it on just one product and see if fixed. Does the plugin not have parameters to decide upon when it encounters a duplicate product, it's been some time since i've seen it, but i seem to recall it had something for this area.

        Comment


          #19
          Product Duplicates and SPP

          Originally posted by Owen Drumm View Post
          I have the Codepath SPP plugin and have noticed a problem with product duplicates. When you add a product to the cart using the section add to cart button it gives the following error:

          The following product(s) can not be added to the cart.
          # You can find the error description(s) by following the link(s).**Product Name**
          Hi Owen

          As Lee suggests, most users turn off the SPP generation for duplicates (within the the configuration settings) and rely on the original products for submission to Google Product Search and Google rankings.

          The problem you are having sounds like the script being used for the layout of the generated sections is using the ProductID field rather than the Product reference field (as per the scripts supplied in the Actinic AUG). We spotted this quite recently and now supply an amended version of this script that you can paste into your section layout which can be found below. If you have customized your layout script and do not want to overwrite it, or have any further difficulties in resolving this, please contact me.

          Code:
             <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e"> 
            <form method="post" action="<actinic:variable name="OnlineScriptURL" value="Shopping Cart Script URL" />"> 
            <input type="hidden" name="SID" value="<Actinic:Variable Name="SectionID"/>" /> 
            <input type="hidden" name="PAGE" value="PRODUCT" /> 
            <input type="hidden" name="PAGEFILENAME" value="<actinic:variable name="SectionPageName" />" /> 
            <Actinic:SECTION BLOB='<Actinic:Variable Name="SectionCatFile"/>'/> 
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e"> 
            <!-- Hidden field when in trial mode --> 
            <input type="hidden" name="SHOP" value="<Actinic:Variable Name="HiddenFields"/>" /> 
            </actinic:block> 
            </actinic:block> 
            
            <div class="product_list"> 
            
            <div class="image_product"><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><img alt="<actinic:variable name="SectionName" encoding="strip"/>" src="<actinic:variable Name="SectionImageFileName"/>" border="0" /></a></div>
            
            <div><h3 class="product"><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self"><span style="color:<actinic:variable name="Palette2" />"><actinic:variable name='SectionName'/></span></a></h3></div>
            
            <actinic:block type="ProductList" > 
            
            <!-- define a simple flag variable for all cases then set to true if a component list exists for the product -->
            <script language="javascript" type="Text/Javascript">
              var isComplex = false;
            </script>
            <actinic:block type="ComponentList" > 
                  <script language="javascript" type="Text/Javascript">
                        isComplex = true;
                  </script>
            </actinic:block> 
            
            
            <div style="float: right;"> 
            
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsAddToCartButtonShown%22%20%2f%3e%20AND%20%0d%28%3cactinic%3avariable%20name%3d%22NumberAttributesInPushButtonGrid%22%20%2f%3e%20%3d%3d%200%29" >
            
            <!-- Wrap the conditional design elements in a DIV with a product specific ID -->
            <div id="ID_1_<Actinic:Variable Name="ProductReference"/>"> 
                  <actinic:variable name="AddToCartButton" /><br> 
                  <span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span><br> 
                  <input type="text" name="Q_<Actinic:Variable Name="ProductReference"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" class="form_input_general" />
            </div>
            
            </actinic:block> 
            </div> 
            <actinic:block type="PriceList" > 
            <!-- Wrap the conditional design elements in a DIV with a product specific ID -->
            <div id="ID_2_<Actinic:Variable Name="ProductReference"/>"> 
                  <b><actinic:variable name="PriceLayout" /></b><br><br> 
            </div>
            </actinic:block> 
            <actinic:block php="true" > 
            $sShort = ""; 
            $nCount = 0; 
            $sOriginal = '<actinic:variable encoding="perl" name="ProductDescription" selectable="false" />'; 
            foreach(explode(" ", $sOriginal) as $sWord) 
            { 
            
            if ($nCount > 30) 
            { 
            $sShort .= "..."; 
            break; 
            } 
            $sShort .= $sWord . " "; 
            $nCount++; 
            } 
            echo $sShort; 
            </actinic:block> 
            
            <!-- If the complex var was set for this product, overwrite the HTML for the DIV wrappers with blank or any alternative HTML of your choice -->
            <script language="javascript" type="Text/Javascript">
              if (isComplex == true){
                document.getElementById("ID_1_<Actinic:Variable Name="ProductReference"/>").innerHTML="Complex Image Here";
                document.getElementById("ID_2_<Actinic:Variable Name="ProductReference"/>").innerHTML="";
              }
            </script>
            
            
            </actinic:block> 
            
            <br><a href="<actinic:block if="%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20AND%0d%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e" ><actinic:variable name="SectionPageName" /></actinic:block><actinic:block if="%28%3cactinic%3avariable%20name%3d%22IsLoginPageSuppressed%22%20%2f%3e%20%3d%3d%20false%29%20OR%0d%28%3cactinic%3avariable%20name%3d%22UnregCustomersAreNotAllowed%22%20%2f%3e%20%3d%3d%20false%29" ><actinic:variable name="SectionURL" /></actinic:block>" target="_self">More Info...</a>
            
            </div> 
            
            <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e"> 
            </form> 
            </actinic:block>
          Andy Barrow
          http://www.codepath.biz
          T: 0161 870 6355

          Accredited Sellerdeck development partners since 2004.
          Data import / export and catalog management plug-ins.

          Comment

          Working...
          X