| 
 | ||||||||||
|  | Shopping cart software Solutions for online shops and malls | |||||||||
|  |  |  | ||||||||
| X-Cart Home |  FAQ |  Forum rules |  Calendar |  User manuals |  Login | 
|  | 
| Enable "Buy Now" Button in Products List using 2 C | |||
|  |  | ||
|  | Thread Tools | Search this Thread | 
| 
			 
			#1  
			
			
			
			
		 | |||||||
| 
 | |||||||
|  Enable "Buy Now" Button in Products List using 2 C Greetings Folks, X-Cart gives us the opportunity to display a Buy Now Button in Category/Product List - but only if products are displayed as one column. Presumably the logic being that the Buy Now protocol would have an negative display-impact in multiple columns. That said, has anyone managed to display Buy Now button using two columns ? If so, would you please share the method used. With Thanks, Mike. 
				__________________ Web: X-Cart Gold 4.1.3 Apache 1.3.37 (Unix) Linux PHP 4.4.3 MySQL 4.1.19- standard Home PC Dev: X-Cart Gold 4.1.3 Uniform Server PHP 5.1.1 MySQL server 5.0.17 MySQL client 4.1.7 Web Server Apache/2.0.55 (Win32) | |||||||
| 
			 
			#2  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   Just cut and paste the buy now button code from customer/main/products.tpl to customer/main/products_t.tpl. 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#3  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   Quote: 
 Thanks Padraic, Would you be kind and indicate EXACTLY which part of the code from products.tpl I should remove, and where exactly should I past it in products_t.tpl. Sorry to be a pain; but I don't understand Smarty, so will probably mess things unless I have specifics.   Grateful Thanks, Mike. 
				__________________ Web: X-Cart Gold 4.1.3 Apache 1.3.37 (Unix) Linux PHP 4.4.3 MySQL 4.1.19- standard Home PC Dev: X-Cart Gold 4.1.3 Uniform Server PHP 5.1.1 MySQL server 5.0.17 MySQL client 4.1.7 Web Server Apache/2.0.55 (Win32) | |||||||
| 
			 
			#4  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   Actually...to make your life even easier...if you haven't altered products_t.tpl, the buy now code is already in there.  Just replace this: Code: 
 With this: Code: 
 
				__________________ Padraic Ryan Ryan Design Studio Professional E-Commerce Development | |||||||
| 
			 
			#5  
			
			
			
			
		 | |||||||
| 
 | |||||||
|   Quote: 
 Works a treat ! Thank you. Have lost "details" link though. That is: Previously the word details as a link was beside the product (not sure whether this was besides the photo or not) Any ideas on that ? Thank you for your kind assistance. Mike. 
				__________________ Web: X-Cart Gold 4.1.3 Apache 1.3.37 (Unix) Linux PHP 4.4.3 MySQL 4.1.19- standard Home PC Dev: X-Cart Gold 4.1.3 Uniform Server PHP 5.1.1 MySQL server 5.0.17 MySQL client 4.1.7 Web Server Apache/2.0.55 (Win32) | |||||||
|  | |||
| 
X-Cart forums © 2001-2020
 | |||