Guest carlbarrett Posted April 24, 2010 Share Posted April 24, 2010 Hmm I have filled info on all my products and I wanna have the weight of the products shown on the product info page... does anyone know how i'd get this included? What the tag is called if there is one or how to add one etc ?? ;) Quote Link to comment Share on other sites More sharing options...
Guest Posted April 29, 2010 Share Posted April 29, 2010 Two files need to be modified: In /includes/content/viewProd.inc.php: find //query database section and prodWeight, anywhere in the list (mine is after digitalDir,) find // update amount of views section in the list of $view_prod-> add a new line with the code below & then save the file. $view_prod->assign("WEIGHT",$prodArray[0]['prodWeight']); Then in yourskins/skinTemplates/content/viewProd.tpl add {WEIGHT} where you want it to appear. you might want to include something like "Estimated weight of this item: {WEIGHT}" or whatever description you want Save and you are done. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.