Announcement

Collapse
No announcement yet.

single line layout

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

    single line layout

    Hi
    Is ther a simple way to achieve a single line product layout similar to the sample attached.
    The single line option that I find in Actinic seems to be actually 4 lines wide.
    Thanks
    Dave
    Attached Files
    www.baypressservices.com

    #2
    Have you tried layout 'No description laid out in a single line' probably the most compact. However it puts add to cart beneath quantity you'd need to tweak the code.
    Peblaco

    Comment


      #3
      Thanks but I don't think I am code compliant enough yet to re-code on my own. I was hoping for a simple solution.
      Ver 8.51
      Dave
      www.baypressservices.com

      Comment


        #4
        Louise gave you the simple solution.

        In order to get your add to cart button into the same line, you are going to have to delve into your layout code.

        Click on Design | Library | Layouts.
        Scroll down until you see the Products Layout and open it.
        Scroll down until you see "No Image No Description Laid Out In A Single Line" and double click on it.

        Scroll down in the layout until you see a line <br />AddToCartButton

        Simply replace the <br /> with "&nbsp;"

        Bob's your uncle. You're done.
        "Opportunities multiply as they are seized." - Sun Tzu

        Comment


          #5
          Thank You.
          I am learning.
          www.baypressservices.com

          Comment


            #6
            Dave take a look here http://www.casupply.co.uk/acatalog/6..._sheeting.html

            if it is any good let me know

            Darren

            Comment


              #7
              Exactly
              Is it inappropriate to ask you for the layout code?
              Ive been using and learnng Actinic for a month now, but coding is a new experiance for me.
              Thanks
              Dave
              www.baypressservices.com

              Comment


                #8
                Dave not a problem, i'll help were i can and im sure someone will make some suggestion for tidying up the code, but it works for me. You may need to change a few things to get it to fit your layout though

                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>
                
                <table width="100%" cellspacing="0" cellpadding="5" border="0">
                   <tr>
                      <td width="60%" align="left" valign="middle">
                         <a name="<Actinic:Variable Name="EncodedProductAnchor"/>"></a>
                         <i><actinic:variable name="ProductID" /></i>&nbsp; <b><Actinic:Variable Name="ProductName"/></b> <actinic:variable name="ExtendedInformationLinks" />
                      <td width="28%" align="left" valign="top">
                        <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCustomerMessageUsed%22%20%2f%3e">
                            <br />
                            <Actinic:Variable Name="RetailCustomerMessage"/>
                         </actinic:block>
                         
                         <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>
                         
                         <actinic:block if="%3cactinic%3avariable%20name%3d%22DiscountDescriptionIsShownForProducts%22%20%2f%3e">      
                            <br /><actinic:variable name="DiscountList" value="Standard Discount List" />
                         </actinic:block>
                         
                         <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOtherInfoPromptShown%22%20%2f%3e">
                            <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>
                      <td width="5%" align="right" valign="middle">
                               <actinic:block if="%3cactinic%3avariable%20name%3d%22IsQuantityPromptShown%22%20%2f%3e">
                            <span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/></span>
                            <input type="text" name="Q_<Actinic:Variable Name="ProductID"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" />
                         </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:block if="%3cactinic%3avariable%20name%3d%22FileURLNotEmpty%22%20%2f%3e">
                            <a href="<Actinic:Variable Name="ProductLinkInfo"/>">
                               <Actinic:Variable Name="ProductLinkText"/>
                            </a>
                         </actinic:block>
                         
                       
                         		<td width="5%" align="right" valign="middle">
                			<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 value="Add To Cart Button With Cart Icon" name="AddToCartButton" />
                         </actinic:block>
                
                         <actinic:block if="%3cactinic%3avariable%20name%3d%22IsOutOfStockShown%22%20%2f%3e">
                            <br /><br /><strong><span class="actrequired"><br /><Actinic:Variable Name="OutOfStock"/></span></strong>
                         </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>
                
                      </td>
                      <td width="25%" align="right">
                
                
                         <actinic:variable name="AttributeList" />
                         <actinic:variable name="ComponentList" />
                
                         <br /><actinic:variable name="CartError" />
                
                
                
                         <actinic:block if="%3cactinic%3avariable%20name%3d%22IsCatalogSuspendedShown%22%20%2f%3e">
                            <br /><br /><strong><span class="actrequired"><Actinic:Variable Name="CatalogSuspended"/></span></strong>
                         </actinic:block>
                         
                      </td>
                   </tr>
                </table>
                
                
                
                <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e">
                      </form>
                </actinic:block>
                Hope this helps
                D

                Comment

                Working...
                X