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
 All Forums
 Technical
 WordPress for Ecommerce Templates
 next previous products issues
Author « Topic »  

ross.fraser
Advanced Member

451 Posts

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

Posted - 06/23/2018 :  04:39:56  
Hi Guys,

nearly ready to go live except for:

https://websitename.com.au/jewellery/Solid_Gold_Chains?cat=/jewellery/Solid_Gold_Chains&pg=10

is coming up on links to next / previous / number of page

it should be

https://websitename.com.au/jewellery/Solid_Gold_Chains?pg=10

I'm using SEO Urls and all else works fine.

includes.php
$GLOBALS['seodetailurls']=TRUE;
$GLOBALS['seocategoryurls']=TRUE;
$GLOBALS['seocaturlpattern']='/jewelry/%s';
$GLOBALS['seoprodurlpattern']='/jewellery/%s';
//$GLOBALS['seomanufacturerpattern']='/manufacturer/%s';
$GLOBALS['seourlsthrow301']=TRUE;
$GLOBALS['detlinkspacechar']="_";

Any ideas?



Ross Fraser
ross@chain-me-up.com.au
https://www.chain-me-up.com.au

Edited by - ross.fraser on 06/23/2018 04:40:19

Andy
ECT Moderator

95440 Posts

Posted - 06/23/2018 :  04:51:55  
Hi Ross

Do you have this set up on a test / dev site so I can take a look?

Andy

Please feel free to review / rate our software

ross.fraser
Advanced Member

451 Posts

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

Posted - 06/23/2018 :  04:54:33  
Thanks Andy,

just sent you an email

cheers
Ross


Ross Fraser
ross@chain-me-up.com.au
https://www.chain-me-up.com.au

ross.fraser
Advanced Member

451 Posts

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

Posted - 06/23/2018 :  05:30:26  
Hi Andy,

I found the line that sets up the links to prev/next product pages in incproducts.php (around line 100)

original:

if(($catid!='0' || ($manufacturers && $manid!='')) && @$explicitid=='' && @$explicitmanid=='' && ! (@$seocategoryurls&&@$_SERVER['REDIRECT_URL']!='')) $pblink.=($manufacturers?'man=' . $_GET['man']:'cat=' . getcatid($catid,@$catname,$seoprodurlpattern)) . '&pg='; else $pblink.='pg=';

modified: (removed ! after explicitmanid=='' &&

if(($catid!='0' || ($manufacturers && $manid!='')) && @$explicitid=='' && @$explicitmanid=='' && (@$seocategoryurls&&@$_SERVER['REDIRECT_URL']!='')) $pblink.=($manufacturers?'man=' . $_GET['man']:'cat=' . getcatid($catid,@$catname,$seoprodurlpattern)) . '&pg='; else $pblink.='pg=';

It now works correctly, not sure if it is a bug or something with my website.

Please ask Vince to check

cheers
Ross


Ross Fraser
ross@chain-me-up.com.au
https://www.chain-me-up.com.au

Andy
ECT Moderator

95440 Posts

Posted - 06/23/2018 :  05:40:57  
Is the site on 6.9.2 as I see it happening on yours but not on our demo at ectwp.com

Andy

Please feel free to review / rate our software

ross.fraser
Advanced Member

451 Posts

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

Posted - 06/23/2018 :  05:50:37  
Hi Andy,

ECT 6.9.2 php running wordpress 4.9.6 on windows server 2016, IIS 10.0.14393.0

cheers
Ross


Ross Fraser
ross@chain-me-up.com.au
https://www.chain-me-up.com.au

Andy
ECT Moderator

95440 Posts

Posted - 06/23/2018 :  06:41:15  
Do you want to mail me your .htaccess file and I can test things out here?

Andy

Please feel free to review / rate our software

ross.fraser
Advanced Member

451 Posts

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

Posted - 06/23/2018 :  06:47:24  
Hi Andy

on Windows IIS, uses web.config

I guess you wouldn't be running php on windows there?

cheers
Ross


Ross Fraser
ross@chain-me-up.com.au
https://www.chain-me-up.com.au

Andy
ECT Moderator

95440 Posts

Posted - 06/23/2018 :  07:42:58  
Yes, sorry, I forgot you were on Windows. I'll have a rethink.

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.03 seconds. Snitz Forums 2000