Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules
Author Message
damian
New Member
New Member



Joined: Nov 29, 2004
Posts: 14

PostPosted: Mon Nov 29, 2004 11:14 am Reply with quote

How does one alter the catalog, so that products are returned above categories? A full categories list is displayed above the products returned each time a customer selects a category. This gives the appearance that site is broken, because the products are changing below the fold on the page, so that even thought the products change the customer just sees the same categories repeatedly. Thank you for any help.

r/Damian
 
View user's profile Send private message
sixonetonoffun
Spouse Contemplates Divorce



Joined: Jan 02, 2003
Posts: 2496

PostPosted: Mon Nov 29, 2004 11:29 am Reply with quote

What cart are you using?

_________________
[b][size=5]openSUSE 11.4-x86 | Linux 2.6.37.1-1.2desktop i686 | KDE: 4.6.41>=4.7 | XFCE 4.8 | AMD Athlon(tm) XP 3000+ | MSI K7N2 Delta-L | 3GB Black Diamond DDR
| GeForce 6200@433Mhz 512MB | Xorg 1.9.3 | NVIDIA 270.30[/size:2b8 
View user's profile Send private message
damian







PostPosted: Mon Nov 29, 2004 12:56 pm Reply with quote

Sorry, OSC. I am running osc2nuke 4 URI: [ Only registered users can see links on this board! Get registered or login! ]
 
damian







PostPosted: Mon Nov 29, 2004 3:49 pm Reply with quote

Also very strange thing happen with google. The first day I install I am indexed by google and the next day as well. Then google suddenly shows and old cache of my page, and hasn't returned since? Is this new or usual?
 
sixonetonoffun







PostPosted: Mon Nov 29, 2004 4:57 pm Reply with quote

Your right that is silly.
I haven't used that but you should be able to find the file that displays the page
Example: [ Only registered users can see links on this board! Get registered or login! ]
And simply remove the code that displays the catagories or replace it with some navigation links ect...

If you need help with it you'll have to upload the file (don't post it here). And I'll see if I can do anything with it.

If you don't need the all the extras that come with phpnuke I'd consider using [ Only registered users can see links on this board! Get registered or login! ]
Which is basically Oscommerce on steriods.
 
damian







PostPosted: Mon Nov 29, 2004 10:13 pm Reply with quote

Thanks for the offer sixonetonoffun, where do i upload?
 
sixonetonoffun







PostPosted: Mon Nov 29, 2004 10:27 pm Reply with quote

We don't allow attachments onsite so it will have to be to your own space or send to webmaster{<>>}netflake.com
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 7:10 am Reply with quote

Where did this package come from? I downloaded the osc2nuke source from [ Only registered users can see links on this board! Get registered or login! ] but it is not the same as the file you sent me?
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 7:48 am Reply with quote

I figured it out I think you must be using the NukeCommerce 1.4 release? I'll grab that one the other was real simple to turn off the cat listing this one I'll have to test before I send it to you just to make sure it doesn't break anything else.
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 8:17 am Reply with quote

Ok its not that version either so I'll have to wait for a reply to the question where did you get this package and what version of the package is it?
 
damian







PostPosted: Tue Nov 30, 2004 10:54 am Reply with quote

v osc2nuke7x4 downloaded from osc2nuke.com
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 11:18 am Reply with quote

Couldn't be the file doesn't match this one at all: [ Only registered users can see links on this board! Get registered or login! ]
In the one you sent me these lines don't exist:
<?php
if ($oscblockcatshow == 1){
?>

If it did we could just set it to work like this:
<?php
if ($oscblockcatshow == 1 AND !stristr($_SERVER['REQUEST_URI'],'cPath')){
?>
 
damian







PostPosted: Tue Nov 30, 2004 11:36 am Reply with quote

very strange. I just checked my local (original unzip) of /catalog/index.php and the line s <?php
if ($oscblockcatshow == 1){
?>
are present. I will implement your suggestion and see what happens
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 11:43 am Reply with quote

Cool that should do the job. Only place it might bug out is on IIS but running on IIS is probably not going to work with osc at all if I remember.
 
damian







PostPosted: Tue Nov 30, 2004 11:45 am Reply with quote

I cahnged code, but still get the same display results. categories always returned above products
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 11:52 am Reply with quote

Try changing it to product-category your using GT it looks like so the real url is being changed.
 
damian







PostPosted: Tue Nov 30, 2004 11:53 am Reply with quote

I'm running unix, so no issue with IIS, but still haven't figured it out. Does this function rely on info from any other file? It may be possible that some other files are missing lines of code. I unzipped locally and then ftp'ed to server. Is ssh more suitable? Thank you for all your help
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 12:06 pm Reply with quote

It looks like you can shut that block completely off in config.php.bak
$oscblockcatshow = 0;///////// show block oscdisplaycategorie or not (1 = true, 0 = false)

But that would shut it off on all pages which doesn't make sense either.
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 12:16 pm Reply with quote

<?php
if ($oscblockcatshow == 1 AND !stristr($_SERVER['REQUEST_URI'],'product-category')){
?>

But anyway this seems to work with GT enabled on my test site. It won't work on yours?
 
damian







PostPosted: Tue Nov 30, 2004 12:17 pm Reply with quote

Change ['REQUEST_URI'] to product-category?
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 12:20 pm Reply with quote

Yep just like I last posted here.
 
damian







PostPosted: Tue Nov 30, 2004 12:34 pm Reply with quote

cut and paste exact code, but no change. I am sending you the index.php as it looks now.
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 12:37 pm Reply with quote

Ok no problem but one question do you have jpache on? Maybe it just needs the cache flushed out?
 
sixonetonoffun







PostPosted: Tue Nov 30, 2004 12:42 pm Reply with quote

The file you sent me works on my test site so now I'm scratching my head here too.
 
damian







PostPosted: Tue Nov 30, 2004 12:47 pm Reply with quote

I tried emptying cache Confused Since the file I sent you works on your test site I imagine one of the other files, besides index.php must have have been corrupted in transfer. I will try uploading all file from the catalog module once again. This won't affect database, or any other changes I've made will it?
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Modules

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©