webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 09/29/2017 : 03:21:46
Hi there
I have just been asked to drop a payment page onto a wordpress website: the site uses https://theme.co/pro/?gclid=EAIaIQobChMI6O-o8pXK1gIVh7ztCh3AfgJaEAAYAyAAEgLxyPD_BwE (pro) and a childtheme from there
Is the wordpress vesion of ect compatible with such a theme?
If so I will get them to buy ect wordpress edition and I can apply it
Kind Regards Richard
|
Andy
ECT Moderator
95440 Posts |
Posted - 09/29/2017 : 03:53:41
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 09/29/2017 : 04:38:10
thanks Andy I shall find out :)
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 09/29/2017 : 04:47:49
it does indeed - ill be downloading the wordpress version on behalf of the customer in the next 24 hours :) - or they might be the ones doing it - going to give them the choice :)
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 10/01/2017 : 07:33:23
Hi
Ok have purchased the wordpress version on behalf of the client and applied it to their wordpress site.
I have added the code to the header.php script
Looking at it should the theme be applied now to: http://www.home-parcel-box.co.uk/cart.php ?
Or should I be building the pages in wordpress and editing the code to include: <?php include "vsadmin/inc/inccart.php"; ?>
Many thanks
Richard
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/01/2017 : 07:41:10
Hi Richard You set the cart and other store pages up outside of wordpress. Have a look at step #5 here https://www.ecommercetemplates.com/wordpress/ A cart page would look something like this <?php $GLOBALS['ectcartpage']='cart'; require('./wp-config.php'); $wp->init(); $wp->parse_request(); $wp->query_posts(); $wp->register_globals(); get_header(); ?> <div> <?php include "vsadmin/inc/inccart.php"; ?> </div> <?php get_sidebar(); get_footer(); ?> depending on the div structure of the page and whether you are using a sidebar or not. If you run into any problems let me know and I should be able to help. Andy Please feel free to review / rate our software
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 10/01/2017 : 08:27:12
I didnt expect an answer today Andy :)
Ok have tried that and.. not sorted it - I will do some more reading
Kind Regards Richard
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/01/2017 : 08:50:36
Let me know what this gives you <?php $GLOBALS['ectcartpage']='cart'; require('./wp-config.php'); $wp->init(); $wp->parse_request(); $wp->query_posts(); $wp->register_globals(); get_header(); ?> <div class="x-container max width main"> <div class="offset cf"> <div class="x-main full" role="main"> <article id="post-27" class="post-27 page type-page status-publish hentry no-post-thumbnail"> <div class="entry-wrap"> <div class="entry-content content"> <div id="cs-content" class="cs-content"> <?php include "vsadmin/inc/inccart.php"; ?> </div></div></div></div></div></div> <?php get_footer(); ?> Andy Please feel free to review / rate our software
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 10/01/2017 : 10:49:25
thanks Andy
Just uploaded now
I am guessing this means the header.php script isnt used in the child theme ?
Kind Regards Richard
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/01/2017 : 11:27:34
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 10/01/2017 : 11:54:47
thanks Andy sending now :)
|
kierantravel
Advanced Member
United Kingdom
110 Posts Pre-sales questions only (More Details...)
|
Posted - 10/13/2017 : 05:57:33
I am at the same point so watching this with interest
|
webspaceunlimited
Advanced Member
United Kingdom
189 Posts |
Posted - 10/13/2017 : 09:49:54
Hi kieran
Firstly Andy is a massive help and cant do enough to help.
I am still having a few problems - but had a small time away from working on this as just had hand surgery so avoided the computer for a few days
So far I have built the cart pages and so on and using the ect button wordpress plug in to add to cart - I do have some problems but will update the ticket as soon as I am back working on it in a day or two
|
|
|