• Delivery Fee doesn’t always appear in cart. Not sure why. On checkout we get this error if that helps:

    VM463:1 Uncaught SyntaxError: Unexpected token < in JSON at position 3

    • This topic was modified 4 years, 7 months ago by camknight.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Kshirod Patel

    (@kshirod-patel)

    Hello,

    Please share your site url so that we can check into it?

    Thread Starter camknight

    (@camknight)

    Thread Starter camknight

    (@camknight)

    Sorry I just realised, you’ll need to use this postcode to test: 2000

    Thread Starter camknight

    (@camknight)

    I noticed it won’t work until I click back from checkout to the product menu, then it shows up.

    Plugin Contributor Kshirod Patel

    (@kshirod-patel)

    Hello,

    I tried the same way what you told but did not able to produce the issue.

    Thread Starter camknight

    (@camknight)

    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.

    Thread Starter camknight

    (@camknight)

    It looks like it could be because the cookie “rpress_items_in_cart” isn’t added until after reload.

    Plugin Contributor Kshirod Patel

    (@kshirod-patel)

    Hello,

    This thing is happening in the checkout page or in the food item page? Can you please share a screenshot for the issue?

    Thread Starter camknight

    (@camknight)

    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!

    Thread Starter camknight

    (@camknight)

    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/rvwdf0

    I 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>
    Plugin Author Magnigenie

    (@magnigenie)

    @camknight, can you please make sure if you have entered any value for free delivery above amount?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Delivery Fee doesn’t always appear in cart’ is closed to new replies.