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
Forum Search
Google Site Search
Author « Topic »  

kierantravel
Advanced Member

United Kingdom
110 Posts

Pre-sales questions only
(More Details...)

Posted - 10/13/2017 :  06:06:52  
I am following instructions.
It says my products.php file shouldlike likethis:

A typical WordPress site uses a header, main content, sidebar and footer as in our demo site. If you open the file products.php in a text editor you will see the following code...

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

BUT my products.phpfile looks like this:

$GLOBALS['ectcartpage']='products';
require('./wp-ect-header.php');
get_header();
?>
<div class="midWrapper">
<div class="container">
<div class="row clearfix">
<div class="col-9 mid_<?php echo CONTAINER_POS?>">
<?php
include "vsadmin/inc/incproducts.php";
?>
</div>
<?php get_sidebar(); ?>
</div>
</div>
</div>
<?php get_footer(); ?>

Andy
ECT Moderator

95440 Posts

Posted - 10/13/2017 :  06:52:23  
Hi

I believe you're using one of our themes so there's nothing there you need to change as the page will be set up correctly already - is that the case?

Andy

Please feel free to review / rate our software

kierantravel
Advanced Member

United Kingdom
110 Posts

Pre-sales questions only
(More Details...)

Posted - 10/13/2017 :  06:55:12  
Hi Andy
Im trying to use 'Envision Theme.

http://envision.wptation.com/


Peter

kierantravel
Advanced Member

United Kingdom
110 Posts

Pre-sales questions only
(More Details...)

Posted - 10/13/2017 :  06:58:46  
I did start using your them but want to try an alternate (I understandit maybe a little more complicated as Envision has its own cms BUT it would be great if this works).

My header.php starts like this.I can give the whole file if needs be.

<?php

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

do_action('cloudfw_page_start');

Edited by - kierantravel on 10/13/2017 07:00:25

kierantravel
Advanced Member

United Kingdom
110 Posts

Pre-sales questions only
(More Details...)

Posted - 10/13/2017 :  07:13:13  
I have sent you pm mail Andy
Peter

Andy
ECT Moderator

95440 Posts

Posted - 10/13/2017 :  08:05:20  
I have edited the header.php file so now try this for your products.php page

<?php
$GLOBALS['ectcartpage']='products';
require('./wp-config.php');
$wp->init();
$wp->parse_request();
$wp->query_posts();
$wp->register_globals();
get_header();
?>
<div id="page-content" class="no-sidebar-layout"><div class="container"><div id="the-content" >
<?php
include "vsadmin/inc/incproducts.php";
?>
</div></div></div>
<?php
get_footer();
?>

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