Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#26 05-24-2004 09:53:48

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: About To Give Up On Ccp !

My Category Product Display


Default

Code:

<CENTER>

<A HREF="(CGIVAR)seo_item_url(/CGIVAR)">(CGIGET TYPE="SUB" VALUE="ste_prod_show_image" PARAMS="(CGIVAR)product_imgsm(/CGIVAR)")</A><BR>

<A HREF="(CGIVAR)seo_item_url(/CGIVAR)">(CGIVAR)product_number_display(/CGIVAR)(CGIVAR)product_name(/CGIVAR)</A>(CGIGET TYPE="SUB" VALUE="ste_prod_show_price" PARAMS="(CGIVAR)product_pricestatus(/CGIVAR)|(CGIVAR)product_regprice(/CGIVAR)|(CGIVAR)product_saleprice(/CGIVAR)|(CGIVAR)product_volprice(/CGIVAR)|(CGIVAR)product_voltext(/CGIVAR)|(CGIVAR)product_usecatdisc(/CGIVAR)|(CGIVAR)product_useinv(/CGIVAR)|(CGIVAR)product_inv(/CGIVAR)|(CGIVAR)product_recurprice(/CGIVAR)|(CGIVAR)product_recurstatus(/CGIVAR)")

</CENTER><BR>

Image Not Displayed

Code:

<FONT FACE="(CGIVAR)html_base_font_face(/CGIVAR)" SIZE="(CGIVAR)html_base_font_size(/CGIVAR)" COLOR="(CGIVAR)html_base_font_color(/CGIVAR)"><A HREF="(CGIVAR)set_item_url(/CGIVAR)"><B>(CGIVAR)product_number_display(/CGIVAR)(CGIVAR)product_name(/CGIVAR)</B></A></FONT><BR>

(CGIGET TYPE="SUB" VALUE="ste_prod_show_desc" PARAMS="(CGIVAR)product_descshort(/CGIVAR)")

(CGIGET TYPE="SUB" VALUE="ste_prod_show_price" PARAMS="(CGIVAR)product_pricestatus(/CGIVAR)|(CGIVAR)product_regprice(/CGIVAR)|(CGIVAR)product_saleprice(/CGIVAR)|(CGIVAR)product_volprice(/CGIVAR)|(CGIVAR)product_voltext(/CGIVAR)|(CGIVAR)product_usecatdisc(/CGIVAR)|(CGIVAR)product_useinv(/CGIVAR)|(CGIVAR)product_inv(/CGIVAR)|(CGIVAR)product_recurprice(/CGIVAR)|(CGIVAR)product_recurstatus(/CGIVAR)")

<BR><BR>

Offline

 

#27 05-24-2004 09:55:38

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: About To Give Up On Ccp !

I might have found it! I think it was a typo in the seo module! one sec

Offline

 

#28 05-24-2004 09:56:48

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: About To Give Up On Ccp !



That's good to know actually. Like I said, this might be a simple coding issue from Mark.



I might have found it! I think it was a typo inthe seo module! one sec

Getting there. smile


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#29 05-24-2004 09:59:49

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: About To Give Up On Ccp !

BINGO!!

I found my problem!!

In my last post, in the No Image Displayed, it shows:

<A HREF="(CGIVAR)set_item_url(/CGIVAR)">

when it SHOULD be

<A HREF="(CGIVAR)seo_item_url(/CGIVAR)">


a typo with a "t" instead of an "o"

Thank you for all your help in showing me where to look.
Much appreciated to you all!

Offline

 

#30 05-24-2004 10:00:44

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: About To Give Up On Ccp !

Did you placed the set_ instead of seo_ yourself or this was originally done by Mark ?


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#31 05-24-2004 10:02:25

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: About To Give Up On Ccp !

It was done by Mark. A simple little one letter typo...almost made me slit my wrists!

lol

Offline

 

#32 05-24-2004 10:06:49

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: About To Give Up On Ccp !

I'd send an e-mail to Mark and advise him of this minor issue to avoid future threads on this subject.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#33 05-24-2004 10:21:43

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: About To Give Up On Ccp !

I remain a man with a problem. Haven't yet found typos like the one Big Dave ran across.

I'll keep plugging away and perhaps my email to Mark will help resolve it.

Matt


Matt Krause
Website:

Offline

 

#34 05-24-2004 10:25:34

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: About To Give Up On Ccp !

Matt, is yours ONLY through your "search" or have you found it elsewhere?

I am still trying to see where YOUR problem can be coming from.

By the way Matt, throw an index.htm file in your /ccp51/cgi-bin/ pronto wink

Offline

 

#35 05-24-2004 10:48:21

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: About To Give Up On Ccp !

Hi Dave,



--I hit the "search" button on the top left of any page; the search results in product listings that link to ccp51/cgi-bin directory (those product listings are laid out by the ste_prodsm_default Cat Prod Display (aka "Default Format")).

--From the home page, I click one of the hard-coded category links ("more earrings...", "more bracelets...", etc).  That successfully takes me to the listing of products in that category, but the those listings link back to the home page (fyi, those listings are also driven by the ste_prodsm_default Cat Prod Display (aka "Default Format")).

--From the home page, I click on one of the hard-coded links to a product detail page (any of the product photos on the home page) -- that successfully takes me to the product detail page for that product, but then the "related products" listings below it link back to the home page (and they are also laid out by the ste_prodsm_default Cat Prod Display (aka "Default Format")).



<!--This starts the ste_prodsm_default Cat Prod Display (aka "Default Format")-->
<CENTER>
<A HREF="(CGIVAR)seo_item_url(/CGIVAR)">(CGIGET TYPE="SUB" VALUE="ste_prod_show_image" PARAMS="(CGIVAR)product_imgsm(/CGIVAR)")</A><BR>

<A HREF="(CGIVAR)seo_item_url(/CGIVAR)">
<!--Item (CGIVAR)product_number(/CGIVAR)-->
<!--br-->
(CGIVAR)product_name(/CGIVAR)</A><br>

(CGIGET TYPE="SUB" VALUE="ste_prod_show_price" PARAMS="(CGIVAR)product_pricestatus(/CGIVAR)|(CGIVAR)product_regprice(/CGIVAR)|(CGIVAR)product_saleprice(/CGIVAR)|(CGIVAR)product_volprice(/CGIVAR)|(CGIVAR)product_voltext(/CGIVAR)|(CGIVAR)product_usecatdisc(/CGIVAR)|(CGIVAR)product_useinv(/CGIVAR)|(CGIVAR)product_inv(/CGIVAR)|(CGIVAR)product_recurprice(/CGIVAR)|(CGIVAR)product_recurstatus(/CGIVAR)")
</CENTER>
<p>
<!--This ends the ste_prodsm_default Cat Prod Display-->



I'll go take a look in the ste_seo.pl file.  Maybe something there will jump out at me.

Thanks for any advice you've got!

Matt


Matt Krause
Website:

Offline

 

#36 05-24-2004 10:50:11

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: About To Give Up On Ccp !

...and thanks, Big Dave, for the heads-up on no index.htm in the ccp51/cgi-bin.  That passed right under my own nose.

Matt


Matt Krause
Website:

Offline

 

#37 05-24-2004 10:57:10

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: About To Give Up On Ccp !



but then the "related products" listings below it link back to the home page

This has to be an SQL statement issue in ste_prod.pl file in the product related paragraph.

Make sure you have this paragraph :

Code:


#########
######### Take the $product_xprod and pull items from
######### the product table that match up.
#########

$product_xprod =~ s/\, /\,/gs;

my @related = split (/\,/, $product_xprod);

my $related = "";

$prodxprod_count = "0";
$prodxprod_count_sql = "0";
$prodxprod_sql = "";

foreach $related(@related) {

$prodxprod_count++;

if ($related ne "" && $prodxprod_count >= "$first_row" && $prodxprod_count <= "$last_row") {

$prodxprod_count_sql++;

$dbins_product_id = database_quote('product',$related);

$prodxprod_sql .= "product_id=$dbins_product_id OR ";

} ######### End of if statement.

} ######### End of foreach statement.

if ($prodxprod_sql ne "") {

chop($prodxprod_sql);
chop($prodxprod_sql);
chop($prodxprod_sql);
chop($prodxprod_sql);

} ######### End of if statement.

Then, make sure the calls are specificly set like this :

Code:


#########
######### If we're trying to get related products.
#########

} elsif ($fd_pg eq "ste_prod") {

$sql_statement = "

$sql_select_string
WHERE $prodxprod_sql

";

Also, since you have the SEO module installed, check around these fields to see if there's an SEO routine.


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#38 05-24-2004 11:30:54

ATS
Member
From: Near Chicago, Illinois
Registered: 12-20-2003
Posts: 183
Website

Re: About To Give Up On Ccp !

Hi Guys,

I'm sorry I didn't catch this thread sooner, thanks Matt for letting me know about it.

Big Dave, I apologize for the typo in your install. I would have gladly corrected it for you if I had known you were having trouble - don't want anyone slitting their wrists! Congrats on tracking it down though. We edit each of the HTML elements by hand to preserve your layout and HTML changes, so the typo will not affect other users.

The trouble with Matt's site was unrelated, and was caused by ste_prod.pl being overwritten (apparently by the latest CCP update). I have re-installed the SEO code and his site appears to be fully functional as of now.

Anyone experiencing trouble with ATS modules or ATS-modified sites please feel free to contact me - I will be happy to help.

Mark


ATS is an authorized provider of support and custom modifications to ClickCartPro software.

Offline

 

#39 05-24-2004 11:33:18

scoutch
Banned
Registered: 07-03-2003
Posts: 3167

Re: About To Give Up On Ccp !



The trouble with Matt's site was unrelated, and was caused by ste_prod.pl being overwritten (apparently by the latest CCP update). I have re-installed the SEO code and his site appears to be fully functional as of now.

Glad I could find the source Mark. smile


______________________________________________

THIS USER HAS BEEN BANNED FROM THIS FORUM.

If this post contains any language related to
code samples, advice, etc., please read this
entire thread before making a decision to use
this post as a basis for any change to your
software installation.
______________________________________________

Offline

 

#40 05-24-2004 12:12:11

mattkrause
Member
From: Seattle, USA
Registered: 01-28-2004
Posts: 189
Website

Re: About To Give Up On Ccp !

I haven't installed the new update yet, but perhaps my evil twin was mindlessly playing with old files and FTP as I napped innocently!   smile

Thanks for the quick fix, Mark.  As always, your help is much appreciated.

Matt


Matt Krause
Website:

Offline

 

#41 05-31-2004 13:09:42

Big Dave
Member
Registered: 10-24-2003
Posts: 742

Re: About To Give Up On Ccp !

Big Dave, I apologize for the typo in your install. I would have gladly corrected it for you if I had known you were having trouble - don't want anyone slitting their wrists! Congrats on tracking it down though. We edit each of the HTML elements by hand to preserve your layout and HTML changes, so the typo will not affect other users.

I know you would have Mark, but I try not to bother the big guns like you and Nick unless the troops here can't help, which usually they can.


Anyone experiencing trouble with ATS modules or ATS-modified sites please feel free to contact me - I will be happy to help.

Absolutely! Mark is ALWAYS on top of things when you need help with his products. First class service all the way! 

Offline

 

Board footer