Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Star product doesn't work


Recommended Posts

I have been racking my head around this for 4 hours now and I am still struggling to get it working,

 

I have attached an image of what the table looks like, it seems to show no data at all for some reason.

 

post-322636-0-92429100-1374341258_thumb.png

 

There is information on the website which I have attached as an image as well.

 

post-322636-0-95663700-1374341344_thumb.png

 

I have attempted following the tutorial 3 times now and it still isn't displaying correctly.

 

Also, it has messed the formatting of the side bar on this page for some reason.

 

Any help would be great and I would really appreciate it.

 

If there is any for information you need about it then please let me know.

Edited by drumlegend
Link to comment
Share on other sites

Step 5 of the instructions reads like so:

 

5.- OPEN file:

 

/catalog/index.php

 

FIND:

 

include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);

 

 

 

ADD ABOVE this lines:

 

// STAR PRODUCT PIMPED START...

if (SHOW_STARPRODUCT=="true") {

include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); }

// STAR PRODUCT PIMPED END...

 

So this is what I pasted in my code:

 

 

<?php 

if (SHOW_STARPRODUCT=="true") {
   include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); }
// STAR PRODUCT PIMPED END...
?>
<?php
include(DIR_WS_MODULES . FILENAME_NEW_PRODUCTS);
// STAR PRODUCT PIMPED START...
if (SHOW_STARPRODUCT=="true") {
   include(DIR_WS_MODULES . FILENAME_STAR_PRODUCT); }
// STAR PRODUCT PIMPED END...?>
</div>
</div>

 

could that be wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...