Quote:
Originally Posted by cflsystems
This is the code you put in include/func/func.product.php just before "return $product"
Code:
$product["product"] = $product['manufacturer'] . " " . $product['product'];
|
Assuming that I am following instructions correctly (and I
think I am) then this method does appear to cause problems as it affects the admin area aswell...
What happens in my case is the manufacturer name is added into the 'product name' field in the admin EVERY time you make a saved edit in the admin, so I ultimately end up with 'Gibson Gibson Gibson Les Paul Guitar' after three product edits in the admin.
Ideally, I think a solution should not affect the admin or db and just be added at runtime wherever the product name is called on the front end. Any way to do this?
Thanks again for any help. I'm pretty new to XCart with a fairly big project ahead (customised) and I hope it's going to be a fairly logical process once I get the hang of these damn tpl files
