Guest Posted July 16, 2004 Posted July 16, 2004 Right I have managed to get a box sorted around my products in main page new_products.php, and I have managed a little more but I need descriptions to work also, I can get the code in, but it is also random. What I am getting is the image and name and price ok, but descriptions is also random, so it doesnt match the image and stuff, is there any way to stop this happening. Here is a link to the site I have taken the description code out to get a second breath http://www.supaosc.com/testsites/customers/software/ Any help would be nice, thx in advance
tapaule Posted July 16, 2004 Posted July 16, 2004 I'm looking into this exact same thing, except I am havign a different issue (but enough about me!). There's a table called product_descriptions that carries the description of the product from the products table, and is linked by product_id. For every row in the products table, there needs to be a corresponding row in the products_description table. See if there's a product_id in the product_description table for every row in products. There may also be an error in the query that retieves the information from the product_description table in the database, and may be asking for something other than product_id from the description table. Hope I understood your question and answered it! Tom
Guest Posted July 16, 2004 Posted July 16, 2004 Thx for that I have completed the issue and solved the problem with a lttile hacking, if anyone needs the fix pm me I will send I dont like posting complete code in the forums its messy. Here is what it looks like. I need to sort the text out in the css but I am pleased to have sorted a problem which has been causing me a headache for weeks. http://www.supaosc.com/testsites/customers/software/ Tom Paule thx for your post, even if it was l8 it is appreciated.
Guest Posted July 17, 2004 Posted July 17, 2004 I have almost got my box how I want it but I have include and exclude tax prices above each other, is it possible to have em in a line rather than above and below each other. <td valign="top" class="ourtexthere">' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])).'</td> Anyone help, here is a link to my site for testing it, and the box problem I have. http://www.supaosc.com/testsites/customers/software/ Thx in advance.
Guest Posted July 17, 2004 Posted July 17, 2004 Would this be a better solution to my problem putting the exc.vat price in a seperate table. This is the code which is setting the prices I want to list in one line not on a seperate line. <td valign="top" class="ourtexthere">' . $currencies->display_price($new_products['products_price'], tep_get_tax_rate($new_products['products_tax_class_id'])). '</td> <td valign="top"></td> I am starting to mess things up a little hacking at itso any help is nice thx in advance. :D
Guest Posted July 17, 2004 Posted July 17, 2004 Cancel that last request people I have just realised if I do what I want with the prices the specials box will end up fubar and the wahts new box so cancel my order I want a refund. I will figure something else out I think, a new box inside the main box with a background colour maybe.mmmm
Recommended Posts
Archived
This topic is now archived and is closed to further replies.