Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Easypopulate 2.76 - Items w/0 quantity disappear


Recommended Posts

In easypopulate.php:

 

//**** Status Field Setting ****

// Set the v_status field to "Inactive" if you want the status=0 in the system

// Set the v_status field to "Delete" if you want to remove the item from the system <- THIS IS NOT WORKING YET!

// If zero_qty_inactive is true, then items with zero qty will automatically be inactive in the store.

global $active, $inactive, $zero_qty_inactive, $deleteit;

$active = 'Active';

$inactive = 'Inactive';

//$deleteit = 'Delete'; // not functional yet

$zero_qty_inactive = false;

-------------------------------------------------------------------------------

I have $zero_qty_inactive = false however this only makes the items with 0 quantity show up in the categories. When I open up the category the products are not shown there. I frequently run out of products and don't want people to think that I don't offer them so I want them to always be shown.

 

I have also tried to change $inactive = 'Inactive'; to $inactive = 'Active'; but that didn't seem to work either. I have just recovered my site after making too many wrong changes so I'm looking for some advice before I continue trying more random changes.

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.
Note: Your post will require moderator approval before it will be visible.

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...