Simon0601 Posted February 22, 2006 Posted February 22, 2006 I need to add 'NOTE: We only deliver to the United Kingdom mainland only' This need to go below the drop down country box. How can i do this?
matrix2223 Posted February 23, 2006 Posted February 23, 2006 I need to add 'NOTE: We only deliver to the United Kingdom mainland only' This need to go below the drop down country box. How can i do this? Which part of the account set up are you interested in. If it is the first part the create_account.php you are refering to scroll down to where the code says <!-- body_text //--> then look for <tr> <td class="pageHeading">Welcome, Please Sign In</td> </tr> </table></td> add your code in this area if you need any help give me a haller. Hope this helps
matrix2223 Posted February 23, 2006 Posted February 23, 2006 oh my bad I should have read the ? better here is a link to My create_account.php I took and put a Note: We onyl ship to the US at this time under the Country part view the source code to see where at the code goes one goes right in the body text section when the enter country part is. The other one on the bottom goes right before the contact info code is. Hope this helps and if you need more specifics let me know.
Simon0601 Posted February 23, 2006 Author Posted February 23, 2006 I still can't find the file that needs editing. I have serched through all my cerate_account.php files and i can't find the part i need to enter the line.
matrix2223 Posted February 23, 2006 Posted February 23, 2006 Ok its in the catalog dir in the create_account.php around the bottom of the script here is my code for this file. Find this section within. <?php } ?> <tr> <td class="smallText"><bgcolor="#eed8ae" height="10%" width="100%"><font color="#ff0000"><small><b>NOTE:</b></small></font> At this time we only ship to the United States only.</a>.</td> </tr></td> <tr> <td class="main"><?php echo ENTRY_COUNTRY; ?></td> <td class="main"><?php echo tep_get_country_list('country') . ' ' . (tep_not_null(ENTRY_COUNTRY_TEXT) ? '<span class="inputRequirement">' . ENTRY_COUNTRY_TEXT . '</span>': ''); ?></td> </tr> <tr> <td><img src="images/pixel_trans.gif" alt="" border="0" height="10" width="100%"></td> </tr> <tr> </table></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="smallText"><bgcolor="#eed8ae" height="10%" width="100%"><font color="#ff0000"><small><b>NOTE:</b></small></font> At this time we only ship to the United States only.</a>.</td> </tr></td> <tr> <td class="main"><b><?php echo CATEGORY_CONTACT; ?></b></td> </tr> <tr> I copied all of the way down to the section where the category contact is. I you would like you can send me your code and I can place it in there for you. I hope this helps.
Guest Posted February 23, 2006 Posted February 23, 2006 you could use a contribution to restrict the create account and delivery based on the countries that you want. http://www.oscommerce.com/community/contributions,3607
matrix2223 Posted February 23, 2006 Posted February 23, 2006 Yeah I totally forgot about that contrib
Simon0601 Posted February 25, 2006 Author Posted February 25, 2006 Thanks for all your help. I've got it sorted. Coudn't have done it without you.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.