Jump to content

Johnson

Members
  • Content count

    5,103
  • Joined

  • Last visited

Posts posted by Johnson


  1. not really, im just stuck and need some help?

     

     

    Hey - it was 3:00am - I was only kidding (smiley) :)

     

    The cause is most likely (as you say) the server upgrade. There are register_globals patches to be found in the Contributions section. I had an installation the other day on a PHP5, MySQL 5 server the other day, the following worked in the catalog .htaccess file:

     

    php_value register_globals 1
    php_value register_long_arrays 1

     

    Try that first - if not and you do have PHP5, you will need to ask your host to either change the values, or at least register_long_arrays and then apply the register_globals patches. Make sure you begin with the latest patched version of osCommerce (has MySQL 5 patches already done)

     

    Matti


  2. daft I know but I've jsut realised that while I've got options showing on my slave listing it doesn't show up in the shopping-cart or beyond. Why??! What's missing?

     

     

    You probably have not made the required changes to /includes/application?top.php :)

     

    Matti


  3. I am trying to make an custom search page that will search only on e category and include the extra caregory fields. how would I go about doing that? What table do I find that info in, how do I get it, etc.

     

     

    Ok - I recently did this for a client and its kinda tricky. It requires sub queries, so the MySQL version must be 4.1 or higher. An example of the type of query required includes something like this:

     

    and p2pef.products_extra_fields_value IN ('value1', 'value2, 'value3' ) group by p.products_id having count(p2pef.products_extra_fields_value) = 3

     

    What I did was a custom search form, NOT fully dynamic according to the extra fields (MUCH more work).

     

    Matti


  4. Hi,

     

    I got this message in the Admin:Fatal error: Call to undefined function: tep_get_products_master_status() in /www/p/printerzonen/htdocs/admin/categories.php on line 1553

     

    and I dont know what it means... has anybody seen this before.. and can you tell me what it means??? Does it affect anything ???? Any comments will be hepful

     

     

    It means that you have not installed properly - the function is missing from /admin/includes/functions/general.php :)


  5. Could some kind soul (who has Master Products installed with More Pics 6) PM me or post in this here thread their admin/categories.php file

     

    Think *minimalist* >> what is really needed to get this working? All that is needed to have Master products working with this file is the ability to set:

     

    Master

    Master Status

    Listing Status

     

    Three settings.

     

    Matti


  6. !. This is set in admin>>configuration>>maximum values>> search results

     

    2. In /includes/modules/master_listing.php change:

     

    		  case 'MASTER_LIST_NAME':
    		$lc_align = '';
    		if (isset($HTTP_GET_VARS['manufacturers_id'])) {
    		  $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>';
    		} else {
    		  $lc_text = ' ' . $listing['products_name'] . '</a> ';
    		}
    		break;

     

    to:

     

    					  case 'MASTER_LIST_NAME':
    		$lc_align = '';
    		if (isset($HTTP_GET_VARS['manufacturers_id'])) {
    		  $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>';
    		} else {
    		  $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . $listing['products_name'] . '</a>';
    		}
    		break;

     

     

     

    Now that his omnipotence has kicked me off the osCommerce Team I should have a new release out in a couple of weeks :)

     

    You may contact me privately if you wish to make a donation.

     

    Matti


  7. Does anyone have any idea how to change the code to add the master when you add a slave product to the cart, as described above? Afraid i'm not familiar enough with the coding to figure it out myself, any help would be appreciated.

     

     

    Exactly as above :blink:

     

    Matti


  8. Hi all..

     

    I want to use Master products for my product options.. only a small percentage of my products have attributes.. but those that do I would like to have master products showing the list (red, white etc.)

    Does master products also track the stock?

     

    I know there is an easypopulate contrib for MP - but just wonderign how this works? Does MP assign a master model number and then salve model numbers as well? Are these model numbers downloaded in EP?

     

    Can someone give me a URL of an oscommerce site using MP? The osC site link on the original contrib announcement no longer works.

     

    Thanks,

    Natalie

     

     

    Yes, you can track stock with slaves.

     

    http://google-store.com

     

    Matti


  9. Can I return to this query.

     

    When a regular product is OOS it shows as 'Out of Stock'.

     

    When a master product has slaves and the slaves appear below the master, any stock figures appear correcty in the slave products. However, the master which has no stock, shows as 'Out of Stock'.

     

    Is there a way that I can hide stock qty (ie so no message appears) on Master Products?

     

    Thanks

     

    W

     

     

    In product_info.php simply comment: echo TEXT_STOCK;

     

    Like this: //echo TEXT_STOCK;

     

    Matti


  10. I am trying to make an custom search page that will search only on e category and include the extra caregory fields. how would I go about doing that? What table do I find that info in, how do I get it, etc.

     

     

    I will *try* and find time to do an update so that the extra fields will be searched.

     

    Matti


  11. There is a quantity discount contribution (or two) that will automate the process :)

     

    There are also several price group contributions that allow you to present different prices to customer groups - I have used XPrices and it works quite well.

     

    Matti


  12. Hey Matti,

     

    thanks for the great contrib. I've got it working almost exactly like I want it. Where should I send the donation. ;)

     

     

     

    I checked out the Hi-Bias website you just completed recently and it looks like you've got it working on that site.

     

    http://www.hibias.ca/store/catalog/product...products_id=416

     

    am I on the right track thinking I need to modify the downloads.php file?

     

     

    Wow! Somebody who realises I gotta eat! :P I have a donation link on the Team Page or you can message me.

     

    The link to Hibias was to show that anything is possible - the current development version does not have extra download functionality - music sites are my bread and butter :)

     

    To accomplish what you want you need to edit both downloads.php and checkout_process.php (they are the main two).

     

    Matti


  13. You would need to add the fields yourself - choose a field like you want and copy an existing occurence of it thru the code using a different name - add the new field to your database PRODUCTS table and CONFIGURATION table - about 30 minutes work with a good text editor :)

     

    Matti

×