Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tell A friend is broken.


XxWickedxX

Recommended Posts

Ok for starters the tell-a-friend.php file has a parse error on line 134. That line is this.

 

<?=echo sprintf(HEADING_TITLE, $product_info['products_name']);?>

 

The error message reads like this

 

Parse error: parse error, unexpected T_ECHO, expecting ',' or ';' in /home/www/mywebsite.com/tell_a_friend.php on line 134

 

The next thing is that there are no buttons on product details pages to tell a friend.

 

Just to confirm I do have tell a friend for guest enabled in admin panel. So any help with these things I would appreciate. Please note as well that I have never messed with the tell a friend file.

Link to comment
Share on other sites

Ok for starters the tell-a-friend.php file has a parse error on line 134. That line is this.

 

<?=echo sprintf(HEADING_TITLE, $product_info['products_name']);?>

 

The error message reads like this

 

Parse error: parse error, unexpected T_ECHO, expecting ',' or ';' in /home/www/mywebsite.com/tell_a_friend.php on line 134

 

The next thing is that there are no buttons on product details pages to tell a friend.

 

Just to confirm I do have tell a friend for guest enabled in admin panel. So any help with these things I would appreciate. Please note as well that I have never messed with the tell a friend file.

 

I see your problem change this:

<?=echo sprintf(HEADING_TITLE, $product_info['products_name']);?>

 

to this:

<?php echo sprintf(HEADING_TITLE, $product_info['products_name']);?>

 

I don't that will solve the problem or not. if it doesn't let me know

Wade Morris

Amarillo, Texas

 

Before you do any changes on your site you need to do BACKUP! BACKUP!

Link to comment
Share on other sites

Ok that fixed the parse error. Thank you. However these problems remain.

 

1. Tell a friend does not appear anywhere on the template for users to get to the tell a friend file.

 

2. Members can sign up for product notifications in their account but their is not a place ont he product details pages to sign up for notifications on a certain product.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...