| 
                  
            	
 
            							    
			                     
             
	            Group: Forum Members 
	            Last Active: Mon 6 Dec 2021                     
                Posts: 235, 
                Visits: 750 
             
                           
  
		 | 
					
            
			    I have posted in the technical issues section that there is a problem with the calculation of minimum price for products, the proposal here uses that updated code but is unrelated to that problem.
  I saw that you can put the text 'From' before the price of products. This is great if a product has multiple versions or options but if it only has one price (or the options or versions are all the same price) I wanted the 'From' to not display in these cases. To this end I have written new code which I would like to submit. 
  Now the configuration option [frontend.products.display.fromprice] has a new option 'a' which stands for 'Automatic'. To make this work I have had to modify some SQL Scripts (some were just to fix the 'From' problem mentioned before), create three new scripts, make a change to kartrisproductsdata.xsd and modified some VB blocks. 
  My question is how do I share the code I have written so that the community can use it as I cannot attach source code or zip files to the post please?
  Code & modules I have written or modified are: ProductTemplateShortened.ascx ProductTemplateNormal.ascx ProductTemplateTabular.ascx CategoryProductsView.ascx FeaturedProducts.ascx
  kartrisproductsdata.xsd
  ProductsBLL.vb
  fnKartrisProduct_GetMinPrice.sql fnKartrisProduct_GetMinPriceWithCG.sql fnKartrisProduct_GetMaxPrice.sql fnKartrisProduct_GetMaxPriceWithCG.sql spKartrisProducts_GetFeaturedProducts.sql spKartrisProducts_GetMaxPriceWithCG.sql spKartrisProducts_GetRowsBetweenByCatID.sql						
			    				
			    We are always willing to help out the community or pitch in to help you fix a problem. However, if you want a complete solution made such as a code module or new feature added you have two options. Either  1) Reach out to the Kartris internal development team at http://www.kartris.com/Contact.aspx. 2) Contact one of the Kartris approved partners at http://www.kartris.com/t-Worldwide-Developers.aspx.  Have fun and good luck coding.
             
            
            
       
            
            
          
            
						                
                
                Mon 11 Aug 2014 by  
                Tiggywiggler
            
					         
            
 
          	 |