Post by AliceH » Fri Nov 07, 2014 11:36 am

I have wordpress installed in a folder in my opencart store. I am trying to get it to look the same as opencart using this tutorial http://newjerseygraphicdesign.com/websi ... lve-theme/ The problem I am having is that I can't work out the basic div structure used in opencart as the instruction to Add your site’s basic structure to the core files indicate. I am guessing that is what is causing my problems. I will be very grateful for any assistance in getting this to work.
Alice.

https://www.embroidery-allsorts.com/


User avatar
Active Member

Posts

Joined
Sun Jan 09, 2011 11:00 am
Location - Australia

Post by labeshops » Fri Nov 07, 2014 11:07 pm

Easiest way to do this is to view the source code in your browser for your storefront and then copy and paste the sections you want to appear in wordpress.

I did it many years ago and it is a pain in the a** but can be done with a LOT of trial and error.

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by AliceH » Fri Nov 14, 2014 3:30 pm

Thank you for that, I have made some progress. following the tutorial and you suggestion to pull the source code from the file I have got the wordpress to look like my opencart. I created a title.php file with this code

Code: Select all

<div id="container"><div id="header"><div class="toplinks"><div><a href="http://www.embroideryallsorts.com.au/index.php?route=common/home">Shop</a><a href="/index.php?route=information/contact">Contact Us</a><a href="http://embroideryallsorts.com.au/uniforms/frequently-asked-questions">Frequently asked questions</a><a>Phone: 0430 088 262</a></div></div><div id="logo"><a href="http://www.embroideryallsorts.com.au/index.php?route=common/home"><img src="http://www.embroideryallsorts.com.au/image/data/ocheader.png" title="Embroidery Allsorts" alt="Embroidery Allsorts"  width="1000" height="100"/></a></div>
a footer.php with this code

Code: Select all

<div id="footer"><div class="column"><h3>Account</h3><ul><li><a href="https://www.embroideryallsorts.com.au/index.php?route=account/account">Account</a></li><li><a href="https://www.embroideryallsorts.com.au/index.php?route=account/order">Order History</a></li><li><a href="https://www.embroideryallsorts.com.au/index.php?route=account/wishlist">Wish List</a></li><li><a href="https://www.embroideryallsorts.com.au/index.php?route=account/newsletter">Newsletter</a></li></ul></div><div class="column"><h3>Customer Service</h3><ul><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/contact">Contact</a></li><li><a href="https://www.embroideryallsorts.com.au/index.php?route=account/return/insert">Returns</a></li><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/sitemap">Site Map</a></li></ul></div><div class="column"><h3>Information</h3><ul><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/information&information_id=7">Returns Policy</a></li><li><a href="http://www.embroideryallsorts.com.au/fees-discounts">Fees and discounts.</a></li><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/information&information_id=8">How to measure</a></li><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/information&information_id=6">Frequently asked questions</a></li><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/information&information_id=3">Privacy Policy</a></li><li><a href="http://www.embroideryallsorts.com.au/index.php?route=information/information&information_id=5">Terms & Conditions</a></li></ul></div><div class="column"><h3>Extras</h3><ul><li><a href="http://www.embroideryallsorts.com.au/index.php?route=product/manufacturer">Brands</a></li><li><a href="https://www.embroideryallsorts.com.au/index.php?route=account/voucher">Gift Vouchers</a></li><li><a href="http://www.embroideryallsorts.com.au/index.php?route=product/special">Specials</a></div>
I had to make all of the urls absolute urls so that they would find the correct pages. I am not finished yet I still want to put my categories into a sidebar. I would also love to put the minicart login and search box into wordpress but that is a problem for another day. I just thought I would post what I have so far in-case anyone else is trying to achieve the same thing.

https://www.embroidery-allsorts.com/


User avatar
Active Member

Posts

Joined
Sun Jan 09, 2011 11:00 am
Location - Australia
Who is online

Users browsing this forum: No registered users and 1 guest