Jospin Posted April 28, 2009 Posted April 28, 2009 Hello, I have very long product descriptions and I'd like to have the product attributes (with the dropdown menu) at the top of the page, before the product description. Which block of code should I move in product_info.php? I don't know where the code exactly begins and ends regarding attributes (I've managed to move the attributes but it breaks the tables for other products which don't have attributes) Thanks in advance, Jos
masat Posted April 29, 2009 Posted April 29, 2009 I would say roughly line 121 thru line 158 of the stock code. It is pretty marked up throughout with product_options this and that. Fortunately it is all self contained code wise so you should pretty much be able to cut and paste. Upon further examination I found by cutting line 120 out... <p><?php echo stripslashes($product_info['products_description']); ?></p> and move it to just before the closing td at/near line 159 will effectively flip the description and options. How do you know when you know what you want to do for the rest of your life?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.