Announcement

Collapse
No announcement yet.

Duplicates cant be ordered - help please

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

    #16
    ok..I think this is the problem

    http://community.actinic.com/showpos...4&postcount=21

    Check your "add to cart" layout and, if need be, fix as per Norman's post there.
    Tracey

    Comment


      #17
      Hello,
      Tried Normans fix but sadly the error is still there...thanks for looking
      https://www.harrisontelescopes.co.uk/

      Ed Harrison - Menmuir Scotland

      Comment


        #18
        right, well it's definitely the right problem.
        Did you check the whole of that thread?
        I too did what Norman did and added the 1! before the 718 part of
        <input class="form_input_general" type="text" value="1" size="4" name="Q_718"/>
        and it added to the cart fine after that.
        Tracey

        Comment


          #19
          Tried that too - gone from bad to worse now with the nav buttons changing to simple text - just tried importing older snapshots but now theres two problems!
          https://www.harrisontelescopes.co.uk/

          Ed Harrison - Menmuir Scotland

          Comment


            #20
            I have to stick my neck out and say that you didn't impliment the fix correctly then.
            Your site is (well, was!) showing the same symptoms as the other post. In Firebug, I confirmed that the same thing did enable me to add to cart correctly so I would expect that the same fix to the 'add to cart' button would solve the problem.
            Did you confirm that your layout WAS using the ProductReference variable rather than ProductID??
            Tracey

            Comment


              #21
              Yes - checked

              going to start from scratch and go through the steps again - one point in the code change it has the variable "defaultquantity" is this replaced in the fix by value="1" or added befre this variable?

              Thank you
              https://www.harrisontelescopes.co.uk/

              Ed Harrison - Menmuir Scotland

              Comment


                #22
                Can you post your code for your add to cart button?
                Tracey

                Comment


                  #23
                  Heres the code from the duplicate with I hope the fix (hasnt worked yet, next post will contain the cart code - thanks again)

                  Code:
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
                        <form method="post" action="<actinic:variable value="Shopping Cart Script URL" name="OnlineScriptURL" />"> 
                           <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"><actinic:variable name="ProductImageLayout" /></div>
                  			<div>
                           <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" >
                              <actinic:variable name="AddToCartButton" />
                           </actinic:block>
                  			</div>
                  
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e" >
                              <div style="float: right;"><strong><span class="actrequired"><actinic:variable name="OutOfStock" /></span></strong></div>
                           </actinic:block>
                  
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e" >
                              <div style="float: right;"><strong><span class="actrequired"><actinic:variable name="CatalogSuspended" /></span></strong></div>
                           </actinic:block>
                           
                           <a name="<actinic:variable name="EncodedProductAnchor" />"></a>
                  			<h3 class="product"><actinic:variable formatting="font(Color|ccccff)" encoding="actinic" name="ProductName" /></h3>
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e" >
                              <p>Ref: <actinic:variable name="ProductReference" /></p>
                           </actinic:block>
                  			<h3 class="product_price">
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22PriceIsEnabled%22%20%2f%3e" >
                  				<Actinic:PRICES PROD_REF="<actinic:variable name="ProductID" />" RETAIL_PRICE_PROMPT="<actinic:variable name="ProductPriceDescription" />">
                              <actinic:variable name="PriceListRetail" />
                              </Actinic:PRICES>
                           </actinic:block>
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20False" >
                  	         <Actinic:NOTINB2B><br /><actinic:variable name="ProductPriceNotEnabledMessage" /></Actinic:NOTINB2B>
                           </actinic:block>
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e" >
                              <br />
                              <Actinic:PRICE_EXPLANATION PROD_REF="<actinic:variable name="ProductID" />" COMPONENTID=-1><actinic:variable name="RetailCustomerMessage" /></Actinic:PRICE_EXPLANATION>
                           </actinic:block>
                           </h3>
                       <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e%20AND%20%28%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e%20%3d%3d%20FALSE%29%20AND%20%28%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e%20%3d%3d%20FALSE%29" >  
                  		<actinic:block if="%3cactinic%3avariable%20name%3d%22CartButtonVisibleToAllCustomers%22%20%2f%3e" >
                  		<!-- This code is used when the quantity box is visible to all customers -->
                  		<p>
                  		<span class="actrequired"><actinic:variable formatting="font(Color|ffffff)" name="QuantityPrompt" /></span><input type="text" name="Q_<actinic:variable name="ProductID" />" size="4" value="<actinic:variable name="DefaultQuantity" />" class="form_input_general" />
                  		</p>
                  		</actinic:block> 
                  		<actinic:block if="%3cactinic%3avariable%20name%3d%22EnabledForCustomerGroupID%22%20%2f%3e%20%21%3d%20%22%22" >
                  			<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e" >
                  				<!-- This code is used when the quantity box is visible to retail customers, but not all other customer groups -->
                  				<Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />">
                  				<p>
                  				<span class="actrequired"><actinic:variable name="QuantityPrompt" /></span><input type="text" name="Q_<actinic:variable name="ProductID" />" size="4" value="1" class="form_input_general" />
                  				</p>
                  				</Actinic:ShowForPriceSchedule>
                  				</actinic:block>
                  				<actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20FALSE" >		
                  				<!-- This code is used when the quantity box needs to hidden from retail customers -->
                  				<Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />" HTML="<p><span class='actrequired'><actinic:variable name="QuantityPrompt" /></span><input type='text' name='Q_<actinic:variable name="ProductID" />' size='4' value='<actinic:variable name="DefaultQuantity" />' class='form_input_general' /></p>"></Actinic:ShowForPriceSchedule>
                  				</actinic:block>
                  				</actinic:block> 
                  			</actinic:block>
                  			<actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptHidden%22%20%2f%3e" >
                  				<input type="hidden" name="Q_<actinic:variable name="ProductID" />"  value="<actinic:variable name="DefaultQuantity" />" />
                  			</actinic:block>
                           <actinic:variable name="AttributeList" />
                           <actinic:variable name="ComponentList" />
                        </div>  
                  			<p>
                           <actinic:variable name="CartError" />         
                  			<actinic:variable formatting="font(Size|12),perl" name="ProductDescription" />
                  			<actinic:variable name="ExtendedInformationLinks" />
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e" >
                              <br />
                              <a href="<actinic:variable name="ProductLinkInfo" />">
                                 <actinic:variable name="ProductLinkText" />
                              </a>
                           </actinic:block>
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e" >      
                              <br /><actinic:variable value="Standard Discount List" name="DiscountList" />
                           </actinic:block>
                           
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e" >
                              <br />
                              <span class="actrequired"><actinic:variable name="OtherInfoPrompt" /></span><br />
                              <input type="text" name="O_<actinic:variable name="ProductID" />" size="40" maxlength="1000" value="" />
                           </actinic:block>
                           
                           <actinic:block if="%3cactinic%3avariable%20name%3d%22IsDatePromptShown%22%20%2f%3e" >
                              <br />
                              <span class="actrequired"><actinic:variable name="DatePrompt" /></span><br />
                              <actinic:variable name="DayList" /><actinic:variable name="MonthList" /><actinic:variable name="YearList" />
                           </actinic:block>
                           
                           <actinic:variable name="ProductAlsoBoughtList" />
                           
                           <actinic:variable name="ProductRelatedProductsList" />
                           </p>
                  	</div>
                  
                  <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e" >
                        </form>
                  </actinic:block>
                  https://www.harrisontelescopes.co.uk/

                  Ed Harrison - Menmuir Scotland

                  Comment


                    #24
                    Heres the cart code.......

                    Code:
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22CartButtonVisibleToAllCustomers%22%20%2f%3e" >
                    <!-- This code is used when the cart button is visible to all customers -->
                    <input type="submit" value="<Actinic:Variable Name="CartButtonText"/>" name="_<Actinic:Variable Name="ProductID"/>" />
                    </actinic:block> 
                    
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22EnabledForCustomerGroupID%22%20%2f%3e%20%21%3d%20%22%22">
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e">
                    <!-- This code is used when the cart button is visible to retail customers, but not all other customer groups -->
                    <Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />">
                       <input type="submit" value="<Actinic:Variable Name="CartButtonText"/>" name="_<Actinic:Variable Name="ProductID"/>" />
                    </Actinic:ShowForPriceSchedule>
                    </actinic:block>
                    
                    <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductPriceIsEnabled%22%20%2f%3e%20%3d%3d%20FALSE" >
                    <!-- This code is used when the cart button needs to hidden from retail customers -->
                    <Actinic:ShowForPriceSchedule Schedules="<actinic:variable name="EnabledForCustomerGroupID" />" HTML="<input type='submit' value='<Actinic:Variable Name="CartButtonText"/>' name='_<Actinic:Variable Name="ProductID"/>' />"></Actinic:ShowForPriceSchedule>
                    </actinic:block>
                    </actinic:block>
                    https://www.harrisontelescopes.co.uk/

                    Ed Harrison - Menmuir Scotland

                    Comment


                      #25
                      There is definitely something amiss with your ProductID in the qty prompt.

                      Copying it into Actinic, I'm noticing the a couple of the ProductIDs are showing in RED when the code is expanded and some are not (or one isn't)
                      It may be down to " VS ' ?

                      Try surrounding all the Q_ProductID with double quotes rather than a single quote.

                      Does that help? Could be barking up the wrong tree completely but it does look like something isn't quite right when pasted into Actinic.

                      (editted because I think I got that back to front first time, sorry LOL)
                      Tracey

                      Comment


                        #26
                        oh dear theres quite a lot of red code here and there - maybe reinstallactinic and import a snapshotfrom a day or twoo ag and start methodically?
                        https://www.harrisontelescopes.co.uk/

                        Ed Harrison - Menmuir Scotland

                        Comment


                          #27
                          you do have ONE instance of the Q_ProductID which is surrounded by ' rather than "

                          Surely it's quicker to try that first? Just remember to backup so you can revert back, if necessary (your code is here anyway!)

                          that said, it depends how much 'tinkering' you have done today that hasn't been reverted already
                          Tracey

                          Comment


                            #28
                            Ok but there are some strange issues as the nav bar buttons have gone to text - they stay that way even when I run the wizard to get them back - they also are staying as text even from imported backups...my guess is the actinic installation needs reinstalling???

                            imported an earlier snapshot and totally refreshing the site first...

                            really appreciate your help
                            https://www.harrisontelescopes.co.uk/

                            Ed Harrison - Menmuir Scotland

                            Comment


                              #29
                              doesn't seem like a related issue?
                              What else have you been doing today?
                              Tracey

                              Comment


                                #30
                                tinkering foolishly but only within the cart and section code - generally I find my way through with the undo function when I mess up but this one is strange.
                                https://www.harrisontelescopes.co.uk/

                                Ed Harrison - Menmuir Scotland

                                Comment

                                Working...
                                X