camknight
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress v6.2.1 Breaks the Shortcode Block in Templates@ipstenu it’s absolutely insane to me that shortcodes have been removed by design!! Every single one of our agency’s FSE sites uses the shortcode block in templates for everything: filters, search, ACF & plugin integrations. This is chaos!! ??
The workaround doesn’t seem to work for me. Going to revert to a previous version and hope there is a fix.@clickwize I just resolved this issue – for me the product size and weight was entered incorrectly and too large to ship.
Having the same issue ??
legend! Thanks @kshirod-patel
What version of PHP is compatibile with this plugin?
I have had to change this line of code to false in rpress-functions.php to make the store open:
$time_today = apply_filters( 'rpress_timing_for_today', false );
There might be something wrong with the way you are calculating current time? My timezone is Sydney, Australia (+10).
Forum: Plugins
In reply to: [RestroPress - Online Food Ordering System] Popup overlay ProblemThanks @magnigenie. The issues seem to be happening on all devices and broswers though I’m primarily using the latest MacOS & Windows 10. We are using Divi for this project.
Not sure if I have the exact issue as Mapero but this is a list of the main issues we came across:
– Popup overlay wouldn’t disappear after adding the first food item to cart.
– Changing open hours in the Restropress settings would cause the store to be closed. Had to manually change the hours via rpess_functions.php
– Delivery fee (addon) wasn’t getting applied to the cart unless you reloaded the page on the food items page specifically. I have had to force page reload after clicking the Add to Cart button:$(document).on('click', '.submit-fooditem-button', function(e) { setTimeout(function () { location.reload(); }, 1000); });
Screenshot after adding any product to the cart (NO FEE): https://prnt.sc/rvwcsd
Screenshot after a refresh from the foot item page only (FEE NOW WORKING): https://prnt.sc/rvwdf0I noticed that after selecting Delivery I can see the below html added to the cart. However as soon as I select the options of my first food item and add to cart, the below code is removed with the cart update.
<li class="cart_item rpress-cart-meta rpress_delivery_fee" style="display:none;">Fee: <span class="rpress-delivery-fee green">$4.00</span> </li>
Yes. We have the correct timezone in WordPress settings and changed both store and close time in restropress settings but it wasn’t working for some reason.
The delivery fee doesn’t show up for both the checkout and food item pages unless the user refreshes the food item page. I’ll send through screenshots in a little while…
Thanks for the help!
It looks like it could be because the cookie “rpress_items_in_cart” isn’t added until after reload.
Hey @kshirod-patel please try again as this is urgent.
There is meant to be a $3 fee added to the cart when Delivery is selected but this isn’t happening. The rpress_delivery_fee container seems to be removed from the cart once the first product is added to cart. Only after refreshing the page, the fee shows up.
If you can suggest a temporary hack for us to get this working, it would be really appreciated.
We are using a Divi theme for this project.
Hey I was having this issue and commented on another post but I ended up having a few other issues with popups and overlays. Here is how we solved all of it:
In our main.js file we had to add this:
$(document).on('click', '.submit-fooditem-button', function(e) { $('.modal-backdrop').removeClass('in'); }); $(document).on('click', '.rpress-delivery-opt-update', function(e) { $('.rpress-delivery-options').removeClass('in'); }); $(document).on('click', '.rpress-food-options .close', function(e) { $('.rpress-food-options').removeClass('in'); $('.modal-backdrop').removeClass('in'); });
And in our style.css file we added this CSS:
.modal-backdrop.fade { pointer-events: none; }
- This reply was modified 4 years, 7 months ago by camknight.
I noticed it won’t work until I click back from checkout to the product menu, then it shows up.
Sorry I just realised, you’ll need to use this postcode to test: 2000