Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

akmac

♥Ambassador
  • Posts

    447
  • Joined

  • Last visited

Posts posted by akmac

  1. Hi Tim,

    Found another potential hiccup. I myself have a heavily modded store, and use a "shop by price" contribution. I carry a designer line of products that doesn't allow their prices to be listed online. The hiccup is, all of these products are listed when a customer shops by price for items "Under $99"

     

    Oops!

     

    This could be fixed by making the default identifier 999999 instead of 0. But, for whatever reason, some folks don't like that option.

     

    Again, no obigation for you to support contribution compatibility, but it would be greatly appreciated. Let me know if you don't have time, and I'll repost in general support. Thanks!

  2. Tim, it works beautifully. Thanks for the simple mod! It is incredibly easy to install, took me less than 2 minutes (and I'm no pro). Anyone looking for a simple option to sell SOME (just price them at $0.00) of your products without listing the price on your site-I highly recommend Tim's Easy Call for Price. Also works with "Product listing in Columns" with a single code change to product_listing_col.php.

     

    Thanks!

  3. Thanks tim,

     

    I'm currently using products_list_col.php from the contribution here. Any chance you could paste the snippet I'd use to modify this code:

     

          if (PRODUCT_LIST_BUY_NOW) {
           $lc_text .= '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'pName')) . 'action=buy_now&products_id=' . $listing_values['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $listing_values['products_name'] . TEXT_NOW) . '</a> ';      
         }

     

    ?

     

    It's a bit different than the stock products_listing.php

     

    Of course, you're under no obligation to support contribution compatibility-but I sure would appreciate it...

  4. To get rid of buy nor button in product listing, can you make this:

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

    case 'PRODUCT_LIST_BUY_NOW':

    $lc_align = 'center';

    if ($listing['products_price'] == 0){

    $lc_text = ' ';

    } else {

     

    $lc_text = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']) . '">' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . '</a> ';

    break;

    }

    }

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

     

    Work with this:(?)

     

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

    if (PRODUCT_LIST_BUY_NOW) {

    $lc_text .= '<br><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action', 'pName')) . 'action=buy_now&products_id=' . $listing_values['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $listing_values['products_name'] . TEXT_NOW) . '</a> ';

    }

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

     

    That would be awesome.

  5. I need a realatively savvy php troubleshooter to ascertain why these two contributions are not playing nicely together. There is a conflict with the Call for Price code in catalog/includes/modules/product_listing_col.php and new_products.php (in the same location). Pls. see this thread for more details so I'm not double-posting:

     

    THANK YOU!!!!!!!!!!!!!

  6. Yes, I've tried the call for price contribution, but it's coded for the stock product display and I'm using the display in coumns contribution.  I think the only difference is the product_listing_col.php but I don't know how to modify the contribs to work together...

     

    Thanks for replying!

     

     

    Are there any Simple contibutions that will make it possible for me to just write "Call for Price" in the price field?

     

    One of the contributions does way more than I need it to-and modifies files that have already been changed, and the other isn't built to work with product listing in columns.

     

    Is it really that cmplicated a fix for the price feild to accept text? Would that ruin Everything?

  7. Did you search the contributions?

    I recall several "call for price" contributions.

    HTH,

    Robert

     

     

    Yes, I've tried the call for price contribution, but it's coded for the stock product display and I'm using the display in coumns contribution. I think the only difference is the product_listing_col.php but I don't know how to modify the contribs to work together...

     

    Thanks for replying!

  8. Is there a contribution like "call for price" that is built to work with the product listing in columns?  I can't get the existing one to work...

     

     

    Anybody? I've fiddled with it but can only manage to break my site... I have a vendor that doesn't allow his prices to be advertised online. I rank well for his products on my site, but so far I can't put any of them up because I can't ge this to work. PLEASE PLease PLEEEEEEEEEEASE help if you can!

     

    Need a simple call for price... that works with product listing in columns....

  9. I'm no php guru. What I've done is enable the Flat Rate shipping module and set the cost to 0, then I go into catalog/includes/languages/english/modules/shipping/flat.php and changed the name "Flat Rate" to "USPS Ground Mail?". And the title to"Free Shipping!".

     

    works for me.

     

    Now, does anyone know how to keep the priority mail option from showing again? I had the shipping methods mod installed, and that worked, but had to install USPS Plus Insurance over it because our shipments need to be insured.

     

    If anyone knows how to hide the USPS Priority option in USPS PLUS insurance pls let me know!

  10. Dan, Thanks for the reply!

    I did modify it for the USPS Methods mod. It looks like it added tep_cfg_multioption, but I'm still lost...

     

    ////

    // Alias function for Store configuration values in the Administration Tool --MODIFIED with general.php_v1.148+USPSMethods_v2.2.diff

    function tep_cfg_select_multioption($select_array, $key_value, $key = '') {

    for ($i=0; $i<sizeof($select_array); $i++) {

    $name = (($key) ? 'configuration[' . $key . '][]' : 'configuration_value');

    $string .= '<br><input type="checkbox" name="' . $name . '" value="' . $select_array[$i] . '"';

    $key_values = explode( ", ", $key_value);

    if ( in_array($select_array[$i], $key_values) ) $string .= 'CHECKED';

    $string .= '> ' . $select_array[$i];

    }

    $string .= '<input type="hidden" name="' . $name . '" value="--none--">';

    return $string;

    }

  11. Can anyone tell me how to fix this?

     

    Fatal error: Call to undefined function: tep_cfg_select_option() in /www/data/k2152/html/backadmin/modules.php(214) : eval()'d code on line 1

     

    I get this error when I try to click "edit" in order to add my information to the module.

×
×
  • Create New...