Search:

Type: Posts; User: niccol

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Just a quick question.

    OPC installed and coupons set to one use per customer - this fails for guest checkout because of the way all guest customers have the same ID. Obviously, I can edit the...
  2. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    True.

    I had read that file but somehow missed the first lines of the function. What a numpty.
  3. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    I am not sure whether this is alterations I have made or if it is a bug. Still looking at it. Maybe someone can advise me :-)
    The file I am looking at is...
  4. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Oh, now I am not sure. This is a site I have inherited.

    It says 1.5.7a but obviously the line is not in the default Zen code. (or in 1.5.0) So, I don't know.

    What I am seeing on this site...
  5. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Hi, me again!

    I think that in checkout_one_confirmation/header_php.php there is a problem with the message stack.

    Here's the code that handles the "translation" of messages to the correct class...
  6. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    I am working on a site that has very slow shipping methods. (it makes sense because they are shipping very heavy things by freight and get specific quotes)

    So, when I change an address...
  7. Replies
    2
    Views
    1,515

    Re: Encapsulated Plugins - Payment modules

    Thanks Scott.

    Yup, I came to that conclusion too. In particular, 'disable' in the plugin manager won't actually disable the payment module which could be bad.

    Maybe if and when encapsulation...
  8. Replies
    2
    Views
    1,515

    Encapsulated Plugins - Payment modules

    So, this is just a clarification or best-practices question.

    Imagine a payment module that has all the normal stuff and then its own admin page. So, if the user uploads both the includes and the...
  9. Replies
    0
    Views
    213

    Composer and Add-ons

    What is the current thinking on best practices with regard to Plugins that use libraries that would often be installed with composer.

    Obviously, in most cases one might be able to simply upload...
  10. Replies
    1,586
    Views
    256,967

    v150 Sub Directory Problems

    I am having problems on a site with this module installed.

    The problem is in sub-directories that are unrelated to Zen Cart. If that directory is password protected it creates a 404 response.
    ...
  11. Replies
    246
    Views
    83,954

    Re: Stripe.com payment integration module

    Not sure that this is a supported module really so make your own choices as to using it. But ....

    The issue for me was that in most templates the fields that the module adds are not actually in...
  12. Replies
    6
    Views
    885

    v157 Re: Encapsulated Plugins

    Thanks Scott, done.
  13. Replies
    6
    Views
    885

    v157 Re: Encapsulated Plugins

    Hmm, well, it is easy enough to sidestep and find some way to make the code work. It may be that there is a "preferred" way to do this.

    Conceptually, the idea seems to be that the structure and...
  14. Replies
    6
    Views
    885

    v157 Encapsulated Plugins

    Maybe I am misunderstanding.

    I thought that I could simply reproduce the admin structure in the plugin package. So, I could put extra_functions in
    ...
  15. Replies
    1
    Views
    1,167

    Zen Cart Plugins - Manifest

    The manifest.php file in the newer plugins architecture.



    How does one know what this number is before it has been submitted or does the first version of a plugin need to be submitted without...
  16. Replies
    1
    Views
    947

    v157 Plugin Installer - "language" typo

    In BasePluginInstaller.php


    protected function loadInstallerLanguageFile($file)
    {
    $lng = $_SESSION['language'];
    $filename = $this->pluginDir . '/installer/langauages/'...
  17. Thread: hideCategories

    by niccol
    Replies
    485
    Views
    89,908

    Re: hideCategories

    It should be noted that this plugin has not been updated since 2016.

    I am not involved in its maintenance and have no responsibility for it.

    Make your own choices people.
  18. Thread: EZPage Secure

    by niccol
    Replies
    3
    Views
    1,406

    v157 Re: EZPage Secure

    By default, all of them.

    But read the instructions included in the package to see how to choose which are visible.
  19. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    My turn to be confused. My version of html_output.php is the problem.

    The critical line does not exist in any version downloaded. So, I am embarrassed. But still puzzled because why would that...
  20. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    It is weird.

    If there was a flaw in html_output then one would have expected it to not remain uncovered.

    Going through the versions now.

    1.5.4 the line is

    $css_button = '<span class="'...
  21. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Production version - using cssButtons

    Local Version - if I turn cssButtons off, then the behaiour is as you describe. Yay!

    Local Version - If I turn cssButtons on, then no class is added to...
  22. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    So, with css buttons disabled the behaviour is as expected. The submit button looks like this:


    <img src="includes/templates/template_default/buttons/english/button_submit.gif" alt="Apply"...
  23. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Here's the section in tpl_modules_opc_credit_selections.php


    if (strtolower(IMAGE_USE_CSS_BUTTONS) == 'yes') {
    $secondary_class = 'opc-cc-submit';
    ...
  24. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Zen 1.5.6c
    OPC 2.3.4 (2020-08-28)

    Same on Localhost and Production versions. On local I am reverting to 'classic green' so there are no template alterations.

    The issue appears to be with the...
  25. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Thanks again.

    When I do that, nothing happens because 'Apply' is still just a span.

    I have a balance, which shows. I type a digit. Console shows submitFunction firing but nothing else happens....
  26. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    :-) That is my question. I am seeing an apply button and I don't know what it should do.

    I will put the html that I am seeing at the bottom. So, perhaps there is some error in my installation as...
  27. Replies
    2,531
    Views
    257,726

    v155 Re: One-Page Checkout [Support Thread]

    Am I missing something, or does the 'Apply' button for gift certificates do nothing when this plugin is used?

    Obviously people can still apply Certificates by adding the value and trying to...
  28. Replies
    28
    Views
    14,049

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    Just a quick note to say thanks for all the work on this one.

    It is a vast improvement - even if only for admin at the moment.

    Thanks to all ...
  29. Re: Define Page Editor

    Thanks. Sorry to trouble you, in that case!
  30. [Duplicate] [Done v157a] Define Page Editor

    Zen 1.5.7

    define_pages_editor.php sets the variable $file at about line 58.

    header.php sets the variable $file at about line 79.


    $file = DIR_FS_ADMIN ....
  31. Replies
    15
    Views
    663

    v151 Re: Browsing all products per category

    I have used much the same code. But have put it in its own template/module and then included it in tpl_index_categories.php.

    The reason for that is that most people seem to want to keep the...
  32. Replies
    15
    Views
    663

    v151 Re: Browsing all products per category

    To be clear. It is perfectly possible to do the coding to include all the products in the parent category on the parent category page. I have done so on a number of sites although they are so highly...
  33. v157 Re: how do I center the header text in responsive template

    At the very least you could provide a screenshot showing what you are trying to do.
  34. v157 Re: how do I center the header text in responsive template

    Add to the end of stylesheet.css to check if it works.

    But as I say, without seeing the site people are just guessing.
  35. v157 Re: how do I center the header text in responsive template

    You probably need to give a bit more information because if you have changed the file no-one else knows what you have done. You could try adding this to the css:


    #logoWrapper {
    margin: 10px...
  36. Replies
    13
    Views
    1,485

    v157 Re: Product quantities in attributes yet?

    Yes, that all makes sense.

    I think there is room for various approaches. My approach is simply to separate all the model stuff from all the view stuff in this case. All I need from the module is...
  37. Replies
    13
    Views
    1,485

    v157 Re: Product quantities in attributes yet?

    One liner: It doesn't get involved in the display of the attributes.

    Longer answer is that I think that the display of the attributes is best controlled in separate modules. As you know, many...
  38. v156 Re: Make content exclusive to authorized customers only?

    Always do what Scott tells you to :-)

    https://www.zen-cart.com/showthread.php?227059-EZPage-Secure&p=1371607

    This is a slightly cleaner version of the hack that I made earlier. It uses...
  39. Thread: EZPage Secure

    by niccol
    Replies
    3
    Views
    1,406

    v157 EZPage Secure

    New Plugin

    Just submitted in response to https://www.zen-cart.com/showthread.php?227048-Make-content-exclusive-to-authorized-customers-only

    Module that allows EZPages to be viewed only by...
  40. Replies
    13
    Views
    1,485

    v157 Re: Product quantities in attributes yet?

    Thanks Simon,

    That thread explains why the 'it does slightly less' comment is in place. It is on the list to release the simpler version I have but just haven't got around to it.
  41. Replies
    13
    Views
    1,485

    v157 Re: Product quantities in attributes yet?

    It actually has less. But is simpler because it doesn't try and do everything in one module. I'd go with the other because there is a degree of support that goes with it.
  42. Replies
    13
    Views
    1,485

    v157 Re: Product quantities in attributes yet?

    There are instructions in the package. If you extract the zip file you will find them.
  43. v156 Re: Make content exclusive to authorized customers only?

    Be aware that you might want some EZ pages to show to everyone.

    There is a line at the top of the file which will let you do that....


    $always_show = array('0','1000');

    Which means that...
  44. v156 Re: Make content exclusive to authorized customers only?

    Sorry I made a silly error. Try this one ...
  45. v156 Re: Make content exclusive to authorized customers only?

    I am guessing with the numbers :-)

    Try changing:


    case (isset($_SESSION['customers_authorization']) && (int)$_SESSION['customers_authorization'] == 2):
    // customer is logged in...
  46. v156 Re: Make content exclusive to authorized customers only?

    Try the attached file ...

    It is a quick and dirty hack - yes, I know I should do the work in the module rather than in the template :-) - but should give you the basis for something.

    Back-up...
  47. Replies
    13
    Views
    1,485

    v157 Re: Product quantities in attributes yet?

    https://www.zen-cart.com/downloads.php?do=file&id=202

    Is your best bet at the moment.

    If you have issues with it then send me a PM- I have a different version of it :-)
  48. Thread: hideCategories

    by niccol
    Replies
    485
    Views
    89,908

    Re: hideCategories

    I do not believe there is a built in function to do what you want. I'd have a look in the 'plugins' section to see if anyone has solved that already. If not then you will probably need to hire...
  49. Thread: hideCategories

    by niccol
    Replies
    485
    Views
    89,908

    Re: hideCategories

    admin/categories.php

    The most recent version of this addon still contains the line ;


    require(DIR_WS_MODULES . 'prod_cat_header_code.php');

    I don't think recent versions (>= 1.5.6) of Zen...
  50. Replies
    115
    Views
    23,104

    v154 Re: WorldPay Module version 3.0 - Support thread

    Nick

    Once again, I would encourage you to look at other options than WorldPay

    You'd have to say which version of the module you were using to get a proper solution. But for whatever reason the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR