chrometweaks.org

Can I design a website on wordpress and use my own iPage hosting service?

Click Here To View All Answers...


Question I have... Can I design a website on wordpress and use my own iPage hosting service? Many thanks for any response. Second question of mine... How do I remove 'customers also bought' module? I tried removing the code from the product_info.php page and all I get when I remove the code is an error. can someone tell me what exactly I need to remove in order to remove that module?.

This is the code I removed and it didn't work:.

<tr>.

<td><BR>.

<?php.

If ((USE_CACHE == 'true') && empty($SID)) {.

Echo tep_cache_also_purchased(3600);.

} else {.

Include(DIR_WS_MODULESFILENAME_ALSO_PURCHASED_PRODUCTS);.

}.

}.

?>.

</td>.

</tr>.

This is the error message I get:.

Parse error: parse error, unexpected $ in /.........../catalog/product_info.php on line 239.

And there is nothing on line 239.

This post has been edited by.

Fribhey.

: 13 July 2004, 14:13..

Comments (58)

Yep, but you might want to make sure and wait for another person to confirm this as I am not quite sure. Better yet, why don't you call the iPage guys because they can help better...

Comment #1

Thanks, I actually tried blocking out the else code and it worked:.

<tr>.

<td><BR>.

<?php.

If ((USE_CACHE == 'true') && empty($SID)) {.

Echo tep_cache_also_purchased(3600);.

} else //{.

Include(DIR_WS_MODULESFILENAME_ALSO_PURCHASED_PRODUCTS);.

}.

}.

?>.

</td>.

</tr>..

Comment #2

Did that work hey? Just a double slash inserted after the 'else'?.

} else //{.

Thanks..

Comment #3

Actually it's:.

Else {.

     //include(DIR_WS_MODULESFILENAME_ALSO_PURCHASED_PRODUCTS);.

   }.

The // is on the right of the {.

It's basically now saying.

Else {.

   }..

Comment #4

Ahh, okay, thanks. That makes sense now. I was getting a funny error with the slashes before the 'else'..

Your way is much better than mine...well done and thanks...

Comment #5

How do I remove 'customers also bought' module? I tried removing the code from the product_info.php page and all I get when I remove the code is an error. can someone tell me what exactly I need to remove in order to remove that module?.

This is the code I removed and it didn't work:.

<tr>.

<td><BR>.

<?php.

If ((USE_CACHE == 'true') && empty($SID)) {.

Echo tep_cache_also_purchased(3600);.

} else {.

Include(DIR_WS_MODULESFILENAME_ALSO_PURCHASED_PRODUCTS);.

}.

}.

?>.

</td>.

</tr>.

This is the error message I get:.

Parse error: parse error, unexpected $ in /.........../catalog/product_info.php on line 239.

And there is nothing on line 239.

This post has been edited by.

Fribhey.

: 13 July 2004, 14:13..

Comment #6

Just set Min & Max values to 0 (zero) in admin and remove the text 'customers also bought' from the product_info lang file...

Comment #7


This question was taken from a support group/message board and re-posted here so others can learn from it.