Ok I will try this - i am surprised this has not been an issue before -
Ok I will try this - i am surprised this has not been an issue before -
Ok what I am going for is:
image, Manf, model number, name, skill type
skill type I am trying to construct and is discussed in another thread.
So am i assuming correctly that these fields are within the products table?
image is products_images;
products manf is manf_id
model number is products_model
name is products_id
skill type well that is coming sometime.
Or am I off base and they each tables themselves?
In th products table you have:
products_id
manufacturers_id
products_image
products_model
In the products_description table you have:
products_name
Skill type will be wherever you put it!
Nick
iszent.com
Being a newbie I copied extactly what you suggested to see what it did! Very nice! but I wanted the model number etc.
so I chose one catagory to change to see what happened and sure enough it did not like it .
So this is what I did : This is to add the model number.
inclludes modules/pages...
line 132ish
$linkProductsName = zen_href_link(zen_get_info_page($products[$i]['id']), 'products_id=' . $products[$i]['id']);
$ProductsModel= zen_get_products_model($products[$i]['id']);
line 145ish
'linkProductsName'=>$linkProductsName,
'productsModel'=>$productsModel,
'productsImage'=>$productsImage,
then in tpl_shopping_cart_default.php
<a href="<?php echo $product['linkProductsName']; ?>"><span id="cartImage" class="back"><?php echo
$product['productsImage']; ?></span><span id="cartProdTitle"><?php echo $product['productsName'] .
'<span class="alert bold">' . $product['flagStockCheck'] . '</span>'.'<br/>'.$product['productsModel']; ?></span></a>
I get a white page so it is not liking something I have done or it just does not show the model number. TIA
Ok
I does not seem to like the coding for the products_model
possibly because this is a feature within a table and the
productsDescription is a table itself?
If I am thinking correctly - the coding above is for a table within my database. It works great.
How do I modify this for a feature within a table:
such as
products
products_model?
help please TIA