Thanks for the pointer but still no joy trying it this way either.
							
						
					Announcement
				
					Collapse
				
			
		
	
		
			
				No announcement yet.
				
			
				
	
Section Layout - help needed
				
					Collapse
				
			
		
	X
- 
	
	
		
		
		
		
		
		
		
	
	
Have you tried re-booting Actinic?
Try this:
It might need a couple of formatting tweaks but i think it should work for you.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> <actinic:block if="%3cactinic%3avariable%20name%3d%22SectionPage%22%20%2f%3e%20%3d%3d1" > <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"> <actinic:variable name='SectionName'/></span></a></h3></div> <actinic:block type="ProductList" > <actinic:block if="%3cactinic%3avariable%20name%3d%22ProductType%22%20%2f%3e%20%21%3d%202" > <actinic:block type="PriceList" > <b><actinic:variable name="PriceLayout" /></b><br> <actinic:variable name='SectionDescription'/> <br /> </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> <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: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"> <br/><span class="actrequired"><Actinic:Variable Name="QuantityPrompt"/> </span><input type="text" name="Q_<Actinic:Variable Name="ProductReference"/>" size="4" value="<Actinic:Variable Name="DefaultQuantity"/>" class="form_input_general" /> </actinic:block> <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> </actinic:block> <br/><br/><div align="right"><strong><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></strong></div> </actinic:block> </actinic:block> </div> <br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10" background="h_dots.gif"> </td> </tr> </table> </actinic:block> <actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductFormUsed%22%20%2f%3e"> </form> </actinic:block>
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
After double clikcing the error it takes me to this line in the layout code.
<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">
<actinic:variable name='SectionName'/></span></a></h3></div>
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
Are you sure the "Displaying Fragments Separately From Product" from the AUg has been applied?
Might also be worth a check of what Bruce suggests
I can create a new layout using the code i posted and it works no problem, the only thing i can think of is that i used the "Displaying Fragments Separately From Product" and i don't get any additional add to cart buttonsOriginally posted by Bruce View PostHi Simon,
Further to our call earlier this afternoon ...
If you take a look at the new layout you created called 'Section Link with Product Details' in the library, check the 'block if' on line 18 of the layout ( just above the 'AddToCartButton' layout.. double click on the block if to expand it.. you should see
You need to add a condition here to exempt the fragment so teh code would now readCode:<actinic:variable name="IsAddToCartButtonShown" /> AND (<actinic:variable name="NumberAttributesInPushButtonGrid" /> == 0)
Save and exit, you should now see only a single 'Add to Cart' button appearing for the product.Code:<actinic:variable name="IsAddToCartButtonShown" /> AND (<actinic:variable name="NumberAttributesInPushButtonGrid" /> == 0) AND (<actinic:variable name="ProductType" /> == 0)
Kind regards,
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
I think the error could be because i have an extra variable within a block if, I use a section page variable which i think you might need to add as follows:
Go to Design > Library and click the variables tab.

Right click on the section variable and select New Variable
Now create a variable using the following settings

If this doesn't fix the condition error then i'm at a loss without seeing the site and code etc. Is this a new site or an established site and how large is a snapshot?
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
If you like i'll have a look at it for you if you send me over a snapshot, do a support snapshot which removes all the data such as ftp details, username, passwords, customer details etc.
To do a support snapshot just go to help > troubleshooting and down the bottom is the option to do a support snapshot. If you can FTP the snapshot somewhere and email me via the forums the URL where i can get the snapshot and i'll download it and have a look for you.
Comment
 - 
	
	
		
		
		
		
		
		
		
	
	
I have now resolved this by following the instructions at the following link:
http://community.actinic.com/showthr...ragment&page=2
Adrian - Thanks again for all your time on this, it's appreciated...
Comment
 
Comment