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


 All Forums
 Technical
 WordPress for Ecommerce Templates
 ECT Pages Navigation Issues
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

tmdaslide
Advanced Member

USA
385 Posts

Posted - 10/31/2019 :  19:06:19  
I received notification of broken links from a plugin. I discovered that the ECT pages (Cart, Account, Tracking, Contact, Order Status, etc) no longer load properly and some a page not found error.

This occurred after upgrading to the latest WP version & disabling the Custom Permalinks plugin due to other issues.

In the WP Permalink settings, I set it to https://www.sitename.com//%postname%/ format. I'm not sure if this should have been (or was) Post name https://www.sitename.com/sample-post/ format to keep the original formatting intact.

The purpose or need for adding the Custom Permalink plugin escapes me at this point. It seemed to be problematic and I'm hoping to purge it and any 'ghosts in the machine' left behind. I'm not sure how to do this.

While reading the Wordpress integration recommendations looking for solution, I found that for some pages the header code needs to change:

"<?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();
?>"

VS

"<?php
$GLOBALS['ectcartpage']='products';
require('./wp-config.php');
$wp->init();
$wp->parse_request();
$wp->query_posts();
$wp->register_globals();
get_header();
?>"

I tried this on the products page, but the formatting went nuts so I changed it back and am reluctant to blindly change the pages as suggested.

So.....how do I fix the link problem? Is the header code at the root of this issue?

Broken link Checker notification:
Link text : customer account
Link URL : http://www.sitename.com/clientlogin.php
Source : Policies

Link text : Customer Account
Link URL : http://www.sitename.com/clientlogin.php
Source : Free Shipping

Link text : Customer Account
Link URL : http://www.sitename.com/clientlogin.php
Source : Accounts & Wish Lists


Edited by - tmdaslide on 10/31/2019 19:10:47

tmdaslide
Advanced Member

USA
385 Posts

Posted - 10/31/2019 :  19:37:07  
Also, the categories and product pages do not load content. the URL for categories is assign as ../store-brands/ in the ECT admin, but shows as .//categories/

No one can navigate to products via the categories, much less purchase anyhing....or contact us to find out if the lights are still on.....

tmdaslide
Advanced Member

USA
385 Posts

Posted - 10/31/2019 :  21:11:15  
Installing and activating the ECT Link plug-in seems to have resolved the link problem. I have no idea why...

I'm still not clear on the header code and whether or not I need to change that and mess with the formatting issue that arises.

Vince
Administrator

39056 Posts

Posted - 11/01/2019 :  01:06:43  
Hi there
I'm sorry to hear you are having problems but it sounds like things are more or less working again. Is that the case?
quote:
I'm still not clear on the header code and whether or not I need to change that
In the products.php, cart.php, etc pages, the code should be as it is in the original download.
quote:
While reading the Wordpress integration recommendations looking for solution, I found that for some pages the header code needs to change
Can you let me know the link to that documentation or where to find it so I can see what it is about?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

tmdaslide
Advanced Member

USA
385 Posts

Posted - 11/01/2019 :  05:45:09  
Hi Vince,
It 'more or less' seems to be operating normally. Peter at Servelink suggested the ECT Custom Links plugin though he's suspicious of issues with the linking and has a year old topic waiting for insights too.

Step #5 - Setting up the store pages from https://www.ecommercetemplates.com/wordpress/ is the source of the code recommendation.

Edit: I forgot to mention that the ECT-Widgets plugin doesn't allow the changing of the navigation options. It only shows 'accordion'.

Edited by - tmdaslide on 11/01/2019 10:59:35

Vince
Administrator

39056 Posts

Posted - 11/01/2019 :  12:30:19  
I'm glad you've got things working again and if you want me to have a look at the menu just send the site FTP login to my email. I'm aware of that post by Peter and it, along with a couple of other issues prompted me to give the WordPress integration a bit of an overhaul and I've been working on this the last couple of weeks.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

tmdaslide
Advanced Member

USA
385 Posts

Posted - 11/01/2019 :  19:37:57  
Thanks. I sent login info.

I just went back to activate the ECT WordPress Widgets plug in and found this error message:

quote:
Fatal error: Cannot redeclare ect_widget_installer() (previously declared in /var/www/vhosts/slidewright.com/httpdocs/wp-content/themes/ectwpindoors/functions.php:74) in /var/www/vhosts/slidewright.com/httpdocs/wp-content/plugins/ect-widgets/ect-widgets.php on line 46

Vince
Administrator

39056 Posts

Posted - 11/02/2019 :  02:47:44  
Hi there
I got your FTP login details and had a look at the site. I think the version of the WordPress template you are using is from around 2014 and at that time it looks like the ECT Widgets were included in the theme rather than as a plugin. I think if you remove that plugin that should solve the error. Another possibility is if I remove the plugin installer code from the theme and then you should be able to use the plugin. Please let me know if you wish to try that. This may well also solve the menu problem as that may be in an updated version of the widget.

Vince


Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

tmdaslide
Advanced Member

USA
385 Posts

Posted - 11/02/2019 :  05:37:37  
Thanks Vince. Will this version also have issues with the other ECT plugins?

It would be nice to have the option of having the ECT Widgets and some of the other plug ins available. For now, at least getting the ECT Widgets functional would be useful. It sounds like upgrade the site template is what really needs to happen. Maybe in 6 months.

I also need to eventually remove the 100m Dynamic Static Pages from the store to utilize the the ECT linking.
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2019 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000