Umut

Forum Replies Created

Viewing 20 posts - 1 through 20 (of 74 total)
  • Author
    Posts
  • in reply to: New WP Version breaks Grid #69388
    Umut
    Participant

      I experienced the same problem.

      My solution:
      In the custom CSS section, I added the following code:

      /* Article Images */
      .wppizza-article-default .wppizza-article-image .wppizza-article-image-thumb {
      width: 100px; /* Sets the width of all images to 100px */
      height: auto; /* Adjusts the height proportionally */
      max-width: 50% !important; /* Sets a maximum width limit */
      }
      /* end of article images */

      Thanks Umut

      in reply to: New ingredients functions #69184
      Umut
      Participant

        Dear Olly,
        If I set the Pickup Price of an item that I don’t want to appear for delivery to “0,” the item disappears. This approach solved my issue.
        But how would it work if I wanted to create the opposite effect for another item? For example, if the “Kebab Box” should only be available for pickup and not selectable or visible for customers when they choose delivery.
        Following the same logic, I set the regular price to “0” and entered the actual price for pickup. However, this didn’t work. It seems that this function only applies to the Pickup Price.

        Why am I asking all this?
        For a client, I created two SNACKS menus: 1 – SNACKS and 2 – SNACKS FOR PICKUP.
        The second SNACKS menu for pickup contains slightly different and cheaper items, which is why the seller doesn’t want to include it for delivery.
        Therefore, I would prefer a functional solution instead of creating two menus with similar names.

        Best regards
        Umut

        in reply to: New ingredients functions #69174
        Umut
        Participant

          Dear Olly,
          this solution (pickup price) turned out great, exactly as I wanted.
          Thank you very much for it.

          in reply to: New ingredients functions #69102
          Umut
          Participant

            Dear Olly,

            Thank you for your responses.

            Unfortunately, despite spending hours trying, I couldn’t manage to hide the drinks page when the “Pickup” option is selected.

            I first created a child theme and added a functions.php file with the following code:

            <?php
            // Enqueue parent theme styles
            function spacious_pro_child_enqueue_styles() {
            wp_enqueue_style(‘parent-style’, get_template_directory_uri() . ‘/style.css’);
            }
            add_action(‘wp_enqueue_scripts’, ‘spacious_pro_child_enqueue_styles’);

            // Filter WPPizza query based on pickup selection
            add_filter(‘wppizza_filter_loop_args’, ‘exclude_bier_wein_if_pickup’);
            function exclude_bier_wein_if_pickup($args) {
            // Check if the customer selected pickup
            if (function_exists(‘wppizza_is_pickup’) && wppizza_is_pickup()) {
            // Exclude ‘bier-wein’ category (ID 16) from the query
            $args[‘category__not_in’] = array(16); // 16 is the ID of the ‘bier-wein’ category
            }
            return $args;
            }
            ?>

            I tried using category ID 16, which is for the alcoholic beverages, but it still didn’t work. I think such tasks are beyond my skill level.

            As you mentioned, it could be done on two separate sites, one for “Pickup” and another for “Delivery,” but I have no intention of creating two separate sites. A solution within the system would be more reasonable. I once saw a similar solution with WooCommerce; maybe I’ll try it out in the future.

            Thanks again for everything.

            Best regards
            Umut

            in reply to: New ingredients functions #69086
            Umut
            Participant

              Dear Olly

              Based on your feedback, I tested the “exclude” ingredients custom group. I can set it up so that the ingredients group only shows the normal ingredients for 40cm, while for 32cm pizzas, the dough selection is also displayed. However, when I choose “exclude,” the radio button does not appear, allowing users to choose between gluten-free dough or classic dough. Instead, it appears like normal ingredients, and people can select both at the same time. If the radio option could be included in the “exclude” group, my issue would be resolved.

              I also have a similar issue with delivery or pickup options. Some businesses are permitted to deliver alcoholic beverages but are not allowed to sell them on-site. In this case, I cannot disable alcoholic beverages for pickup. Therefore, I need a solution that allows product categories to be shown or hidden for pickup or delivery.

              in reply to: Add Ingredients Plugin Version 5.3 – Error Message Appears #68851
              Umut
              Participant

                When comparing the files, I identified the following differences:

                Usage of the render_tags Function:
                In the old file, the name value is set using $this->render_tags($v[‘item’]), whereas in the new file, it uses $this->render_tags($v[‘item’]) . $this->render_additives($k, $v).
                This change could be causing the error, especially if the function $this->render_additives($k, $v) is not properly defined or the parameters are incorrect.

                Removal of an Additional Line:
                In the new file, a line was removed after asort($availableIngredients);. While this may not directly cause an error, it could affect the behavior.

                The likely source of the error is the newly added render_additives function. Please verify that this function is correctly defined and implemented. Would you like me to investigate further?

                in reply to: line spacing between the checkbox and the delivery date #67233
                Umut
                Participant

                  Thanks Olly

                  in reply to: Warning: [cod] – Error #66388
                  Umut
                  Participant

                    There’s some information I’ve been meaning to tell you for a long time, and it just came to my mind. Every time an update is done for “wppizza-delivery-by-postcode,” the license numbers get deleted automatically. If one isn’t careful, they might not notice that the license has been deleted, and “wppizza-delivery-by-postcode” gets disabled. Recently, this has happened on every website of my clients where I’ve performed an update.

                    in reply to: Warning: [cod] – Error #66387
                    Umut
                    Participant

                      In the subdirectories of my clients, there is no file named “wppizza-customisation.php” at all. I don’t remember how it happened with these two clients; they are, however, very old clients. After the file was deleted, there is no longer a PHP error occurring. I think I will stay this way for now until further notice.

                      in reply to: Warning: [cod] – Error #66383
                      Umut
                      Participant

                        Dear Olly,
                        I found the issue.

                        Under the plugins directory, I noticed a file named “wppizza-customisation,” as indicated in the Debug Log. Renaming that file solved the problem. I also tried the same with another customer, and it worked for them too.

                        Thank you for your patience.

                        in reply to: Warning: [cod] – Error #66381
                        Umut
                        Participant

                          Dear Olly,

                          you will find the Debug.log file.

                          Here are my observations:

                          When ordering an item with ingredients, the order cannot be submitted.
                          Ordering an item without ingredients proceeds smoothly.
                          When ordering an item without ingredients and a second item with ingredients, an error message appears on the order page: “ERROR: 20006, Order not found using hash.”

                          Additionally, an error email is received as described earlier.

                          Upon request, I can create a WP Admin login for you!

                          Best regards,
                          Umut

                          in reply to: Shop closing for holidays – improvements ? #65626
                          Umut
                          Participant

                            Dear Patrick,
                            You’ve touched upon a valid point.
                            If Olly responds positively to this request and implements another update, it would be really nice. This way, shop customers would see a notification indicating that the business is on holiday instead of the opening hours, and I believe that would be a sensible improvement.

                            in reply to: ZIP Code popup appears empty. #65564
                            Umut
                            Participant

                              Thank you, Olly.
                              Now everything is working very well.
                              You are still the best in the field.
                              Many thanks.

                              in reply to: ZIP Code popup appears empty. #65558
                              Umut
                              Participant

                                Version 5.2.2 was installed on my system on August 27, 2023!

                                in reply to: ZIP Code popup appears empty. #65541
                                Umut
                                Participant

                                  I share the same opinion.
                                  After your response, I temporarily deactivated the Ingredienst plugin and observed that the popup is working as I intended. I guess I should wait for you to resolve this issue with an update!

                                  in reply to: ZIP Code popup appears empty. #65537
                                  Umut
                                  Participant

                                    It should appear the same as these settings.

                                    My activated setting: ZIP Popup should not appear for the homepage, only on WPPizza menu items.
                                    It appears, however, because in the settings, “Popup on every page” is not enabled.

                                    in reply to: ZIP Code popup appears empty. #65536
                                    Umut
                                    Participant

                                      Yes, right

                                      in reply to: ZIP Code popup appears empty. #65528
                                      Umut
                                      Participant
                                        This reply has been marked as private.
                                        in reply to: ZIP Code popup appears empty. #65517
                                        Umut
                                        Participant

                                          Hello Olly,

                                          The issue is occurring on several client websites, not just one. It started after the latest WP Pizza update; it wasn’t an issue before.

                                          I will follow your suggestion and go through everything written in https://docs.wp-pizza.com/troubleshooting/?section=headers-already-sent. I will get back to you afterward.

                                          Thank you.

                                          in reply to: Reports Problem on WP-PIZZA Plugin #65483
                                          Umut
                                          Participant

                                            Great!
                                            It worked.
                                            Thanks for your prompt solutions.

                                          Viewing 20 posts - 1 through 20 (of 74 total)