Search:

Type: Posts; User: brittainmark

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    144

    Re: Best Practice Configuration_group

    Thanks for the reply.
    From above, 1) refers to checking that the configuration group exists and reusing the configuration_group_id. I check by looking for the group name not the number as this is...
  2. Replies
    3
    Views
    144

    Best Practice Configuration_group

    When writing a plugin in which you create a configuration group for your parameters, Should you
    1) always check to see if it is already present and resue if it is?
    2) delete the configuration group...
  3. Encapuslated Plugin changing admin base files

    Zc: 1.5.7c
    php 7.4

    I am trying to write an plugin using the new encapuslated plugin method. I need to modify the invoice.php and packingslip.php files. So I have made the modification and placed...
  4. Replies
    7
    Views
    235

    v157 Re: zc_plugins and new SQL Table

    OK, thanks. Then will use


    require dirname(__FILE__) . '/../admin/includes/extra_datafiles/filename.php';

    Thanks again. It's always fun at the beginning when you are trying to understand it...
  5. Replies
    7
    Views
    235

    v157 Re: zc_plugins and new SQL Table

    Thanks for the feedback as I only need it in the one place, I think I'll go with the $fs = FileSystem::getInstance();

    Just fallen foul of the all plugins set to uninstalled issue. But that is...
  6. Replies
    7
    Views
    235

    v157 Re: zc_plugins and new SQL Table

    The following seems to work, but seems a bit clumsy

    if (!defined('TABLE_MY_BLOODY_PLUGIN')) require DIR_FS_CATALOG . 'zc_plugins/' . $_GET['colKey'] . '/' . $_POST['version'] ....
  7. Replies
    7
    Views
    235

    v157 zc_plugins and new SQL Table

    ZC 1.5.7c
    PHP 7.4.11
    mysql: 5.6.43

    When creating a plugin and using scriped installer to do an install that creates a new table in the database.
    The extra_datafiles>mybloodyplugin.php file...
  8. Sticky: Re: Square Payment Module for Zen Cart [Support Thread]

    Yes I am using it live. No issues so far.
  9. Sticky: Re: Square Payment Module for Zen Cart [Support Thread]

    I think https://www.zen-cart.com/showthread.php?222449-Square-Payment-Module-for-Zen-Cart-Support-Thread&p=1381277#post1381277 covers this. I do not beleive that it has been included in the main...
  10. v157 Re: $Pinfo->Products_id not set when you do back from editing a product

    Sorry, I'll try to be a little clearer.
    From products category you select edit (pencil icon) this takes you to the product to be edited. Via collect product info and within that the $pinfo array...
  11. v157 $Pinfo->Products_id not set when you do back from editing a product

    Trying to write a plug in to add additional info to a product. When I go to edit the product i Use the $pinfo->products_id which is set and passed in by in $p1 by the notifier...
  12. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Liked this idea so I have add and attribute "Do Not Use Any Big Royal Mail Modules" value 100. It is in the latest github.
    You can download install3.2.sql and run again and it will create the extra...
  13. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Thanks. I have corrected. (spelling not my strong point Dyslexia).
  14. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    You can set up additional attribute values. 40 is the highest used currently for parcel force. If you set anything higher than that (say 50) then none or the royal mail modules will show.

    If you...
  15. Replies
    1
    Views
    502

    v157 Install sql patch (bug?)

    zc 1.5.7c
    Server version: 10.3.29-MariaDB - MariaDB Server
    Database client version: libmysql - 5.6.43
    PHP extension: mysqliDocumentation curlDocumentation mbstringDocumentation
    PHP version:...
  16. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Issue with select @variable:= being depreciated in a future version. Have replaced with select INTO @variable. New version on git hub https://github.com/brittainmark/BigRoyalMail Need to check out...
  17. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    I have had this before. It is when Mysql is issuing a warning because something is being depreciated in the future. I thought I had brought them all up to date. I'll check it out and get back to you
  18. Re: To Combine or not to combine that is the question

    Nice plugin but not what I need. Am also going down the zc_plugins route.
    I'll think on what you said about modifying the base tables. Don't know why I feel nervous about doing it, the correct place...
  19. Re: To Combine or not to combine that is the question

    Thanks both comments really useful. I did not want to modify core tables as it can lead to problems later. I suppose it was lazy thinking combining in to one. For the Hs customs code I was also...
  20. To Combine or not to combine that is the question

    V1.5.7

    I have nearly finished a products location add on that creates a table to store the location of the product against the products_id. I also want to store the customs hs code. I was...
  21. Sticky: Re: Square Payment Module for Zen Cart [Support Thread]

    Is there a reason why square refunds are not recorded in the square_payment table on the database? It makes it hard to reconcile order details with the square information.
    Another thing that might...
  22. Replies
    8
    Views
    263

    v157 Re: MinMaxOrderByCountry support thread

    I wrote this option for myself to deal with issues of:
    1) collecting tax for the EU
    2) trying to keep customs simple for myself. Having fallen fowl of us customs with a person who would not supply...
  23. Replies
    8
    Views
    263

    v157 Re: MinMaxOrderByCountry support thread

    Glad to here it works ok! Hope instructions were clear enough.
  24. Replies
    8
    Views
    263

    v157 Re: MinMaxOrderByCountry support thread

    I think it should work. I have not tested it. The only issue i could think of is if any of the Notifier messages are missing. If you install and test it and it works ok. Please post back so other's...
  25. Replies
    8
    Views
    263

    v157 MinMaxOrderByCountry support thread

    This is the support thread for the MinMaxOrderByCountry plug in.

    This Module allows you to set minimum and maximum order values for your store. The values are base on the Cart total figure which...
  26. Re: Documentation Question re: "Building help for your admin plugin"

    Thanks that's great. Yes I realise it is at the cutting edge. Just wanted to make sure I did not go off in the wrong direction
  27. Documentation Question re: "Building help for your admin plugin"

    Zen cart 1.5.7 on:
    A couple of questions re documentation page Technical - Building help for your admin plugin

    Is it preferred to have the help pages included with the add-on or is acceptable to...
  28. Replies
    28
    Views
    5,519

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    Yes also probably more difficult. I'll stick to old way roll on 1.5.8.
  29. Replies
    28
    Views
    5,519

    v157 Re: Plugin Manager (Zen Cart 1.5.7+)

    Is it OK to create a mixed admin/ store-front plug-in that uses plug-in manager for the admin side and leaves the store-front side as is?
    Or is 1.5.8 nearly there and i am better waiting?
  30. Replies
    1
    Views
    134

    v157 zc_plugins and observers

    with the new plug-ins format. Do I still need to place the observers in include>classes>observers and set up a config file in the include>auto_loaders.
    This is for an admin add in but I cannot get...
  31. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    excellent, don't forget to hide the invalid shipping again. I will have to think about adding another error message to say about the added packing weights as i keep forgetting they are there.
  32. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    looks like it is working fine on your site. just change the country in the drop-down. I selected a book and went to the cart then change the country to France and pressed update and the international...
  33. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Sorry for delay in replying just got in.
    Package Tare Small to Medium - added percentage:weight 0:3 means add 3kg to the package which is why it will not send.change the 3 to something more sensible...
  34. v156 Re: BREXIT: Set minimum order requirement for UK addresses

    The issue is in the logic. I have put it there for Dr Byte to check that i have understood it correctly.
    When you add a rule to a country for all zones it sets it up with a zone_id of zero meaning...
  35. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    on other thought there is a place that you can add weight to you parcels to cope with the weight of packaging it could be this that is causing the issue.
    look at the documentation here and see hat...
  36. v156 Re: BREXIT: Set minimum order requirement for UK addresses

    Done some more research. This is only an issue if the country you are sending to does not have any regions zones set up. (237 of them)
    I think if i understand the logic correctly that the query...
  37. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    it is the product set up that i was questioning not the bigroyal mail. That looks fine with a max weight of 750g 0.75 kg and a max value of 20 was the book worth more than 20. Each module has a max...
  38. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Another thought are you using attribute posting? apply an attribute to a product so that it is posted using a minimum or only using that method.
  39. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Have you put the weight in as 300 or .3 as bigroyal mail works on Kg not grams
    if you want to use grams you will have to adjust all the pricing weight by multiplying by 1000. So 1:2.45 would become...
  40. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    That suggests it working fine. The rate cannot be determined means that it is out side the weight limits. The medium parcels are displaying fine. Try turning off display if invalid again on one the...
  41. v156 Re: BREXIT: Set minimum order requirement for UK addresses

    I had a similar problem when i was testing this. I did find a sloution but my test machine died. I'll try to reproduce again and let you know what i did. I think I changed zone_id to Null from 0...
  42. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Additionally from your screen shot. The weight is over 2kg so only medium parcel, special delivery and parcelforce options would be available to UK. Only Parcelforce would be available...
  43. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    The prices are still valid. Royal mail used to change its prices every Easter. They changed them 1 Jan 2021 but I was not sure if they were going to change them again at Easter so i did not update...
  44. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    Yes you can choose which methods to turn on (all off by default) I have set a handling charge of 1 which ups the default charges by weight. you can set your own rates if you want to. I try to update...
  45. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    You can see it on my website. https://innerlightcrystals.co.uk/sales
  46. v157 Re: Main page not displaying categories and being marked as 404 not found.

    just seen your fix $cpath > 0.
    Will mod my fix to be the same. Thanks sorry for the duplicate.
  47. v157 Re: Main page not displaying categories and being marked as 404 not found.

    sounds like it. I have got around it by checking if the $cpath=0 and if it is not performing the first check.

    $category_depth = 'top';
    $current_category_not_found = false;...
  48. v157 Main page not displaying categories and being marked as 404 not found.

    URL:Innerlightcrystals.co.uk/sales
    ZC version: 1.5.7b
    PHP version:7.2

    The main page (top page) is no longer displaying the sub categories (level below top). also the page is returning 404...
  49. v156 Re: BREXIT: Set minimum order requirement for UK addresses

    No sure If this is an issue or not. I have been testing this out in light of the EU tax changes and think I may have hit a problem. Once you have set your billing address there is no way that you can...
  50. Replies
    324
    Views
    46,187

    v150 Re: Big Royal Mail 3.0

    no problem. I have found a few things that need updating for php8 so I have made a few more changes. Just need to test it all then I will put up a new version.

    For error reporting you could look...
Results 1 to 50 of 296
Page 1 of 6 1 2 3 4
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR