Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Not sure where the problem is here.....please take a look...


Guest

Recommended Posts

Hi everyone,

 

I am not sure where the problem is on this page but if you look you will see a special and TWO boxes below it that say 'Customers who have bought this product have also purchased this:" I don't remember installing a contribution to do this, nor have I entered the product being featured in that box.

 

Anyone have any ideas ? I like the promotional box, but obviously don't need TWO of them nor do I need the --> between those boxes.

 

 

Any help would be appreciated.

 

Here is the link:

 

http://www.thehotfish.com/ew/catalog/speci...atus-p-577.html

 

 

 

Chris

Link to comment
Share on other sites

In the product_info.php somewhere around here:

 

<?php
if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }
?>

Somehow the FILENAME_ALSO_PURCHASED_PRODUCTS is getting included twice.

 

With this in between:

 

 -->

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Change this:

 

<!--<?php
if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }
?> -->

to

 

<?php
/*
if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }
*/
?>

Then see where you stand.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

hmmmm, that didn't work.......

 

 

I get this error:

 

Parse error: syntax error, unexpected $end in /home/content/d/a/v/******/html/ew/catalog/product_info.php on line 354

 

Line 354 is: ?>

 

Anything else I can try ?

 

 

Chris

Link to comment
Share on other sites

MY BAD!!!

:blush:

 

Sorry.

 

Use this:

 

<?php
/*
if ((USE_CACHE == 'true') && empty($SID)) {
  echo tep_cache_also_purchased(3600);
} else {
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
*/
 }
?>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Thank you Jim,

 

That corrected the duplicate box problem.

 

However, I still have the problem of not being able to control what is in that 'plus sell' box .........have you ever come across where this is controlled ?

 

 

 

 

Chris

Link to comment
Share on other sites

Honestly I hadn't even heard of xsell till now, so I won't be much help there.

:blush:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

maybe you missed a part of the install.. OR, did you install article manager? because that had an Xsell addon in it..

 

What other contributions did you install?

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Hi Lyndsay,

 

The only contribution installed there is Xsell for SPPC. Also, its not even a new installation. It was installed before the site was live. I am not sure why that product was linked to the other. I deleted the product and made a new special and it does not have the problem. SO, I guess for now........the problem is solved..........lol

 

 

Here is a list of all the contributions on that site:

 

1) OsCommerce 2.2 RC2a

2) SPPC v4.2.1a

3) Scrolling Specials Box v1.0

4) Login Box v5.7

5) cDynamic Meta Tags v1.6

6) City Delivery v1.1

7) Store Pickup v1.5

8) Featured Products 161

9) Product Listing Columns v2.2.7

10) Xsell v2.4

11) Contact Us pop-up business card

12) Private Messages v1.3

13) Admin Notes v2.3

14) Actual Attribute Prices v1.0

15) Buy Button removal if qty=0 v1.1

16) Back Back Button

17) OsCommerce Style Sheets

18) Customer Groups Discount Updater

19) Ontario Tax Zones Setup

20) Who is Online Enhancement v3.5.2

21) Spiders.txt upgrade v07.04

22) Added Order# and Date to Packing slip and Invoice

23) Ultimate SEO's v2.6

 

 

 

Thanks for the reply.

 

Chris

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...