Hello,
That would take some time to implement things properly.
I actually got the solution from Experts-exchange.
It appears to be a simple change.
Line 33 in rpress-popup.php
Change:
<a data-item-qty="1" data-cart-key="" data-item-id="" data-item-price="" data-cart-action="" class="center submit-fooditem-button text-center inline rp-col-md-6 <?php echo $color; ?>"></a>
to:
<button type="button" onclick="add-cart" data-cart-key="" data-item-id="" data-item-price="" data-cart-action="" class="center submit-fooditem-button text-center inline rp-col-md-6 <?php echo $color; ?>"></button>
It’s working for me now!
https://orderdemo.wpwithheart.com/food-items/
If you could include it in your next update that would be great!
Thanks, we will definitely look into implementing this on our next version.
Awesome!!
The little edit pencil icon in the right sidebar is having the same issue. I can tab to the trashcan, but the pencil doesn’t respond. I’ll see if there’s a fix for that as well.
If you could get these things updated so many would be grateful. Here in US, especially, California there are trolls just looking for sites that aren’t accessible so they can take people to court. It’s gotten really bad since all restaurants are closed to dine-in due to COVID-19.
Okay, The above code I provided actually breaks the cart editing capabilities. The fix is even more simple:
Just add href=”#” to the anchor:
<a href="#" data-item-qty="1" data-cart-key="" data-item-id="" data-item-price="" data-cart-action="" class="center submit-fooditem-button text-center inline rp-col-md-6 <?php echo $color; ?>"></a>