Hi there
My website is www.printinghull.co.uk
I'm trying to have a contact page in the top menu under the name Need a quote?
I want to be able to have a contact form on this page and ideally be able to have text above main text box which prompts customer to specify their quote requirements. So I picture that above the box it would say "Please include the quantity, delivery time and paper/card you require."
Is this possible within open cart?
I tried to add a normal category page and have the contact override on but it hasn't done anything to the page unfortunately.
Thanks
Curtis
I use this MENU LIST HTTP HREF Link-Line to explain, how I did it on a Test OC v.1.5.6.4+!
FIND THIS, it should look very similar to your Theme Header MENU Section, related:
ADD:
TO MAKE IT LOOK LIKE:
This way, you can add any HREF-Link to your Menu, same Style, same Function. I used the Word ASSIST as Test Link Name during my Tests. Everything else, like an OC-default way, would be much more complicated to achieve. You could use your regular OC contact form, or then, create a Custom Contact File, either internal in OC, or then as fully independant PHP or HTML-Page. If you want to call a REMOTE Custom Contact Page, outside of OC itself, beeing displayed in it's own Browser Window, you could add:
On an external Page, you could add, whatever you like, to the contact Form, in a 'standard' way..., keeps you from getting a few brainstorms, trying to do such in/with OC
Good Luck
Ernie
bigmax.ch
IN:<li><a href="http://printinghull.co.uk/index.php?rou ... tact">Need a quote?</a></li>
Code: Select all
shop\catalog\view\theme\yourtheme\template\common\header.tpl
Code: Select all
<?php if ($categories) { ?>
<div id="menu">
<ul>
<?php foreach ($categories as $category) { ?>
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
<?php if ($category['children']) { ?>
<div>
<?php for ($i = 0; $i < count($category['children']);) { ?>
<ul>
<?php $j = $i + ceil(count($category['children']) / $category['column']); ?>
<?php for (; $i < $j; $i++) { ?>
<?php if (isset($category['children'][$i])) { ?>
<li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>
<?php } ?>
<?php } ?>
</ul>
<?php } ?>
</div>
<?php } ?>
</li>
<?php } ?>
</ul>
</div>
<?php } ?>
Code: Select all
<li><a href="http://printinghull.co.uk/index.php?route=information/contact">Need a quote?</a></li>
Code: Select all
<?php if ($categories) { ?>
<div id="menu">
<ul>
<?php foreach ($categories as $category) { ?>
<li><a href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a>
<?php if ($category['children']) { ?>
<div>
<?php for ($i = 0; $i < count($category['children']);) { ?>
<ul>
<?php $j = $i + ceil(count($category['children']) / $category['column']); ?>
<?php for (; $i < $j; $i++) { ?>
<?php if (isset($category['children'][$i])) { ?>
<li><a href="<?php echo $category['children'][$i]['href']; ?>"><?php echo $category['children'][$i]['name']; ?></a></li>
<?php } ?>
<?php } ?>
</ul>
<?php } ?>
</div>
<?php } ?>
</li>
<?php } ?>
<li><a href="http://printinghull.co.uk/index.php?route=information/contact">Need a quote?</a></li>
</ul>
</div>
<?php } ?>
to your Link-Line, to make it look like:target="_blank"
Code: Select all
<li><a target="_blank" href="http://printinghull.co.uk/custom_contact.html">Need a quote?</a></li>

Good Luck
Ernie
bigmax.ch
My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Amazon [Bot] and 19 guests