Search:

Type: Posts; User: eddie_d_2000

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    3,149

    Re: Function to round Quantity

    Ok, I didnt' realize that Ceil() rounds up so that isn't what I needed, just replace ceil with round and you are good to go!
  2. Replies
    10
    Views
    3,149

    Re: Function to round Quantity

    Yep, I put a bool in the admin section that they flag to designate some things, like displaying price per yard and the little disclaimer about the rounding. Thanks.
  3. Replies
    10
    Views
    3,149

    Re: Function to round Quantity

    Cool, thanks, here is the code I added to the /includes/classes/shopping_cart.php file, down after line 1165 in the get_products function:

    $numHolder = ($new_qty * 100);
    $truncNum =...
  4. Replies
    10
    Views
    3,149

    Function to round Quantity

    I am setting up a fabric site and I wanted to know if such a function exists that will round the quantity that a customer enters in to round to the nearest say, .25. For instance you put in .73 and...
  5. Re: [Done v1.3.7] Error when setting fractional quantity.

    I couldn't find the lines that were mentioned here but in my version of ZenCart (1.3.5), I did find these two lines and commented them out for fractional quantities and all is well now.


    lines...
  6. Re: Switch Product Title Link with Model on Maine= Page

    Oh well, instead of hacking around with code that could just potentially get overwritten sometime I just created a category called "All Products" and linked everything in there and disabled the "New...
  7. Re: Switch Product Title Link with Model on Maine= Page

    Anybody have any ideas? Surely someone that has written functions for zen cart understands this. I think I am just not editing the correct file or something.
  8. Re: Switch Product Title Link with Model on Maine= Page

    I tried adding another function in the functions_lookups.php that returned the products_model instead of the products_name and then I modified the whats_new.php to use my new function but that didn't...
  9. Switch Product Title Link with Model on Maine= Page

    I have searched and searched and can't really find a place that is addressing this question. Is it possible to switch the link that shows for your new Products for the month of page from the Title...
Results 1 to 9 of 9
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR