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
 Getting Started and Pre-Sales
 Sorry, this product is not currently available
Next Page
Author « Topic »
Page: of 2

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/01/2018 :  06:27:48  
If I open http://localhost/FB-ECT/index.php the sample products in the list of items i.e. Flatbed Scanner etc will not open with the item but a message appears

Sorry, this product is not currently available

Andy
ECT Moderator

95440 Posts

Posted - 12/01/2018 :  08:16:22  
Hi

I'm not sure I follow. That would be a message you would get on a product detail page but you say that's on index.php?

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/03/2018 :  13:13:45  
Hi Andy
The index page shows the product list.

When I select an item the http://localhost/FB-ECT/proddetail.php?prod=scanner001 page opens with this message.

Sorry, this product is not currently available.
Trust that is more clear.
Cheers
John

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  00:06:44  
Do other store pages display correctly, like the categories.asp, products.asp, cart.asp etc?

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  01:57:35  
RE:
Do other store pages display correctly, like the categories.asp, products.asp, cart.asp

The list on the left side all display "Sorry, this product is not currently available."
The other links on the pages seem to display correctly.

btw I am not using .asp but am using .php

Regards
John

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  02:28:45  
If you go to products.php, can you click on the products there to view their detail pages? Maybe that product has been deleted.

Andy

Please feel free to review / rate our software

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  03:06:19  
I think it's just a case of the format of the links in the menu are different from what is being used on the site. You can get the correct links by browsing your products page.

I would use this in vsadmin/includes.php

$usepnamefordetaillinks=TRUE;

and then copy the URL from the products page links to the menu

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  03:17:21  
Hi Andy
Managed to get the reply working again!

I dont understand what is required by this.

"I would use this in vsadmin/includes.php
$usepnamefordetaillinks=TRUE;
and then copy the URL from the products page links to the menu

As my installation has been delayed (by circumstances here) I would rather do a complete reinstall so that I am confident that there are no bugs requiring modifications later.

Would it be possible for me to download the latest complete version to start from scratch?


Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  03:27:45  
I don't think you need to start again it's just the link in the menu isn't correct

Change it from

proddetail.php?prod=8

to

proddetail.php?prod=scanner001

Andy


Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  03:51:21  
I have not changed anything, here is the present code same for product detail.php
<p class="menu">sample products</p>
<ul class="nav">
<li><a href="proddetail.php?prod=scanner001">Flatbed scanner</a></li>
<li><a href="proddetail.php?prod=fscanner001">Pro scanner</a></li>
<li><a href="proddetail.php?prod=palmtop001">Palmtop computer</a></li>
<li><a href="proddetail.php?prod=monitor001">PC monitor</a></li>
<li><a href="proddetail.php?prod=mouse001">PC mouse</a></li>
<li><a href="proddetail.php?prod=serialcab001">PC serial cable</a></li>
<li><a href="proddetail.php?prod=portable001">Portable pc</a></li>
<li><a href="proddetail.php?prod=keyboard001">PC Keyboard</a></li>
<li><a href="proddetail.php?prod=lprinter001">Laser printer</a></li>
<li><a href="proddetail.php?prod=pc001">PC media package</a></li>
</ul>
If I would use this in vsadmin/includes.php
$usepnamefordetaillinks=TRUE; still applies I have not carried this out as I do not understand where it applies.

On page productdetail.php I am getting an unknown error occoured while discovering dynamically related files
Regards
John

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  04:29:10  
Using

$usepnamefordetaillinks=TRUE;

should give you an URL of something like

proddetail.php?prod=Flatbed-scanner

Can you try that addition and then check the link on products.php to see if it changes the format of the URL?

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  05:04:09  
Hello Andy
where do you wish me to place

$usepnamefordetaillinks=TRUE ?

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  05:28:48  
You can just add it to the list in vsadmin/includes.php

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  05:45:31  
I placed this at several different lines in vsadmin/includes.asp

I am getting an error message
There is a syntax error on line
whatever

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  06:17:45  
Can you make sure you have included the semi-colon so it's exactly like this

$usepnamefordetaillinks=TRUE;

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  07:11:07  
I must have made a mistake because $usepnamefordetaillinks=TRUE; has not raised an error this time.

I opened the index page and selecting any of the sample products list opens

http://localhost/FB-ECT/proddetail.php?

but now in http://localhost/FB-ECT/proddetail.php I have the list on the left side and all links open
Sorry, this product is not currently available.

There are now no other links on the page http://localhost/FB-ECT/proddetail.php now other than the left hand list.

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  07:25:12  
Can you replace the menu...

<ul class="nav">
<li><a href="proddetail.php?prod=scanner001">Flatbed scanner</a></li>
<li><a href="proddetail.php?prod=fscanner001">Pro scanner</a></li>
<li><a href="proddetail.php?prod=palmtop001">Palmtop computer</a></li>
<li><a href="proddetail.php?prod=monitor001">PC monitor</a></li>
<li><a href="proddetail.php?prod=mouse001">PC mouse</a></li>
<li><a href="proddetail.php?prod=serialcab001">PC serial cable</a></li>
<li><a href="proddetail.php?prod=portable001">Portable pc</a></li>
<li><a href="proddetail.php?prod=keyboard001">PC Keyboard</a></li>
<li><a href="proddetail.php?prod=lprinter001">Laser printer</a></li>
<li><a href="proddetail.php?prod=pc001">PC media package</a></li>
</ul>

with the code for the dynamic menu...

<?php $menustyle='verticalmenu2' ?>
<?php include "vsadmin/inc/incmenu.php"?>

I would also run the updater on the site again just in case there are some old admin files that haven't been overwritten and updated.

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/04/2018 :  08:53:39  
Hi Andy
I notice that this code is on Index.php product.php and productdetail.php
Is it elsewhere?

Do I just delete the present code and paste in all pages
<?php $menustyle='verticalmenu2' ?>
<?php include "vsadmin/inc/incmenu.php"?> in its place?

Andy
ECT Moderator

95440 Posts

Posted - 12/04/2018 :  09:02:37  
I imagine it's on all pages but just replace the chunk above with

<?php $menustyle='verticalmenu2' ?>
<?php include "vsadmin/inc/incmenu.php"?>

Maybe try it on one page first like index.php

Andy

Please feel free to review / rate our software

JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/06/2018 :  02:28:09  
Hello
Reference to your suggestion of placing
<?php $menustyle='verticalmenu2' ?>
<?php include "vsadmin/inc/incmenu.php"?>
on the index page in the code view
When I carried this out the following appears in the left columns and over laps into the text area.
How can prevent this from happening without using Live view which seems very cumbersome.

/* <![CDATA[ */
<?php
if($menuid==0) print 'var curmen=[];var lastmen=[];var em=[];var emt=[];' . "\r\n";
writemenuscripts();
print 'em['.$menuid.']={'.rtrim($arrayem,',').'};emt['.$menuid.']=[];curmen['.$menuid."]=0;\r\n";
print 'addsubsclass('.$menuid.",0,'".$menustyle."')\r\n";
print '/* ]]> */'; } } function writemenuscripts(){ global $menustyle,$vertical2scripts,$popmenuscripts,$commonmenuscripts; if($menustyle!='verticalmenu2' && $popmenuscripts==''){ $popmenuscripts=TRUE; ?> function closepopdelay(menid){ var re=new RegExp('ect\\d+_'); var theid=menid.replace(re,''); var mennum=menid.replace('ect','').replace(/_\d+/,''); for(var ei in emt[mennum]){ if(ei!=0&&emt[mennum][ei]==true&&!insubmenu(ei,mennum)){ document.getElementById('ecttop'+mennum+"_"+ei).style.display='none'; emt[mennum][ei]=false; // closed } } } function closepop(men){ var mennum=men.id.replace('ect','').replace(/_\d+/,''); lastmen[mennum]=curmen[mennum]; curmen[mennum]=0; setTimeout("closepopdelay('"+men.id+"')",1000); } function getPos(el){ for (var lx=0,ly=0; el!=null; lx+=el.offsetLeft,ly+=el.offsetTop, el=el.offsetParent){ }; return{x:lx,y:ly}; } function openpop(men,ispopout){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); curmen[mennum]=theid; if(lastmen[mennum]!=0) closepopdelay('ect'+mennum+'_'+lastmen[mennum]); if(mentop=document.getElementById('ecttop'+mennum+'_'+theid)){ var px=getPos(men); if(em[mennum][theid]==0&&!ispopout){ mentop.style.left=px.x+'px'; mentop.style.top=(px.y+men.offsetHeight-1)+'px'; mentop.style.display=''; }else{ mentop.style.left=(px.x+men.offsetWidth-1)+'px'; mentop.style.top=px.y+'px'; mentop.style.display=''; } emt[mennum][theid]=true; // open } } function closecascade(men){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); curmen[mennum]=0; for(var ei in emt[mennum]){ if(ei!=0&&emt[mennum][ei]==true&&!insubmenu(ei,mennum)){ for(var ei2 in em[mennum]){ if(em[mennum][ei2]==ei){ document.getElementById('ect'+mennum+"_"+ei2).style.display='none'; } } } } emt[mennum][theid]=false; // closed return(false); } function opencascade(men){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); if(emt[mennum][theid]==true) return(closecascade(men)); curmen[mennum]=theid; for(var ei in em[mennum]){ if(em[mennum][ei]==theid){ document.getElementById('ect'+mennum+'_'+ei).style.display='block'; emt[mennum][theid]=true; // open } } return(false); } function ectChCk(men){ return(hassubs(men)?opencascade(men):true) } function hassubs(men){ var re=new RegExp('ect\\d+_'); var theid=men.id.replace(re,''); var mennum=men.id.replace('ect','').replace(/_\d+/,''); for(var ei in em[mennum]){ if(em[mennum][ei]==theid) return(true); } return(false); } function insubmenu(mei,mid){ if(curmen[mid]==0)return(false); curm=curmen[mid]; maxloops=0; while(curm!=0){ if(mei==curm)return(true); curm=em[mid][curm]; if(maxloops++>10) break; } return(false); } function addsubsclass(mennum,menid,menutype){ for(var ei in em[mennum]){ men=document.getElementById('ect'+mennum+'_'+ei); if(menutype=='verticalmenu2') men.onclick=function(){return(ectChCk(this))}; else{ men.onmouseover=function(){openpop(this,menutype=='verticalmenu3'?true:false)}; men.onmouseout=function(){closepop(this)}; } if(hassubs(men)){ if(men.className.indexOf('ectmenuhassub')==-1)men.className+=' ectmenuhassub'+(mennum+1); } } }

How can I prevent this?
This method also makes working on the menu difficult whereas the normal method seems straightforward.

How can these problems be resolved?

Regards
John



JH10
Advanced Member

United Kingdom
304 Posts

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

Posted - 12/06/2018 :  02:58:22  
Picture of index page
[url]www.net100test.co.uk/ECT Design View.jpg[/url]

Strange works as a url copied into the address bar

www.net100test.co.uk/ECT Design View.jpg

but not with this software.
Seems not to like spaces.

Edited by - JH10 on 12/06/2018 03:09:05
Page: of 2 « Topic »  
Next Page
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000