Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 WordPress for Ecommerce Templates
 Converting to WordPress
Author « Topic »  

JustDucky923
Ecommerce Template Guru

USA
1332 Posts

Posted - 12/27/2018 :  09:59:33  
I’ve got a site which is quite small which I created with ECT and Dreamweaver back in 2009. I'm attempting to convert it to a WordPress site. Here’s what I’ve done so far and some questions on my next steps:

• I created a new database for WP and uploaded the most recent version of WP to their server. – All working fine.
• I updated the db_conn_open.php file as instructed in this link: https://www.ecommercetemplates.com/wordpress/wp-convert.asp. – That seems fine as well (the vsadmin looks to be working properly)
• Next I added the necessary text to the header.php file as instructed here: https://www.ecommercetemplates.com/wordpress/default.asp#step4
My next step was to start adding the "store" pages -- but I realized that there are already pages such as "cart.php" on the site.

Do I delete those pages?
Do I edit those pages somehow?
Do I still create each (blank) page within WordPress?

I'm stuck. This is the link to the site - the basic WordPress pages of the site are working fine (home, about, etc), the links to the store pages simply open the pages from the old site.

What am I missing..forgetting...doing wrong?

Thanks,

Andy
ECT Moderator

95440 Posts

Posted - 12/27/2018 :  10:08:30  
Hi

You would delete those pages and then set them up again as per Step #5 https://www.ecommercetemplates.com/wordpress/default.asp#step5

Andy

Please feel free to review / rate our software

JustDucky923
Ecommerce Template Guru

USA
1332 Posts

Posted - 12/27/2018 :  10:36:27  
I'm missing something....

So I delete the current "products.php" file (and all the other store pages).
Next, I create a "new page" in WordPress for each store page.

It's the next step, I'm confused about...if the "products.php" page is just a blank page...how does it get populated?

Do I go into an editor (like Dreamweaver) and create a page called "products.php" and enter this into the code and then upload it?

<?php
$GLOBALS['ectcartpage']='products';
require('./wp-config.php');
$wp->init();
$wp->parse_request();
$wp->query_posts();
$wp->register_globals();
get_header();
?>
<?php
get_sidebar();
?>
<div>
<?php
include "vsadmin/inc/incproducts.php";
?>
</div>
<?php
get_footer();
?>

Andy
ECT Moderator

95440 Posts

Posted - 12/27/2018 :  10:38:54  
Yes, that's pretty much it.

Andy

Please feel free to review / rate our software
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000