Search:

Type: Posts; User: lat9

Search: Search took 0.02 seconds.

  1. v155 Re: Can there be more than one "Special" for a product?

    Thanks, mc12345678; I've got the function copied and will "play" over the next couple of days.

    Would you apply the PSR-4 styling to the function, i.e. 4-space indents and function braces on a new...
  2. v155 Re: Can there be more than one "Special" for a product?

    I think I understand the $future_only flag's use now, good idea.

    Another thing to consider in the function's processing:

    $start1 or $start2 can be an array with both keys of 'start' and 'end'...
  3. v155 Re: Can there be more than one "Special" for a product?

    @mc12345678, I've got a couple of questions on the proposed function's definition (a great idea):


    Why add the complexity of allowing those inputs to be arrays?
    What purpose is served by the...
  4. v155 Re: Can there be more than one "Special" for a product?

    That could be dangerous, given the issue that I reported in the first post of this thread.

    The admin-side specials' processing doesn't perform any duplicate (or date-range overlap) validation...
  5. v155 Re: Can there be more than one "Special" for a product?

    ... and could is the operative word! The specials code in the admin (the core version anyway) will not allow multiple specials to be assigned to a single product via its GUI.
  6. v155 Re: Can there be more than one "Special" for a product?

    I see that in the GUI, but it's a different story in the "core" code.
  7. v155 Re: Can there be more than one "Special" for a product?

    In the current implementation of "specials" (through ZC 1.5.5e), if a product has a special its products_id is no longer presented in the drop-down list of products; that's what led me to my initial...
  8. v155 Can there be more than one "Special" for a product?

    From inspecting the code, it seems like the answer to the question in the title is "No". If that's the case, why doesn't the specials table simply use the associated products_id as its primary key?...
Results 1 to 8 of 8
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR