Hi gjh42,
Thanks for the reply! Sorry I don't know hardly anything about database interaction other then trying to copy snippets of code from pages that exist to make something work the same. I'm technically inclined just don't understand what the functions actually completely do.There are two ways or options that I think would be ok. The reason I want to do this is for an internal link that someone can just click to go to vendor to reorder stock easily. This is Zen 1.5.1
1st option- Use zencarts current field then I would remove it from public display on product page.
Code from collect_info.php page that I think would be edited or have something right after
<td class="main"><?php if ($i == 0) echo TEXT_PRODUCTS_URL . '<br /><small>' . TEXT_PRODUCTS_URL_WITHOUT_HTTP . '</small>'; ?></td>
Then add something like this after <td> <?php echo http:// TEXT_PRODUCTS_URL_WITHOUT_HTTP ?> </td>
2nd option- Or I have figured out how to create extra internal only fields (not public), So I would need a way to leave the editable field and the get current data in this editable field as well as display as editable link next to it.
<td class="main"><?php echo TEXT_PRODUCTS_VENDOR_LINK; ?></td>
<td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '4', '15') . ' ' . zen_draw_input_field('products_vendor_url', $pInfo->products_vendor_url, ''); ?></td>
Then add something like this after <td> <?php echo http:// products_vendor_url ?> </td>
Hope this makes more sense.
Petro