Plugin Only Displaying Saved Cart if logged in user first clicks “Saves Cart”
-
Any idea on why this may be, or how to possibly fix?
For users who aren’t logged in — obvious issue, as they do not have the option to “Save a Cart” (even though they can generate a post/cart with the other links under the default
wcssc_user
).So if a non logged in user clicks Share Cart, then clicks ‘copy to clipboard’.. it seems to be functioning properly at first glance. The cart is added to the “Saved Cart” section in the admin panel, the cart_hash is added to the database, so forth.
But the link has no content. It is just a blank default page and does not even load the
single-saved-cart.php
template.The only way for me to get the plugin to work is if a user is logged in… and a user first clicks “Save Cart” (if they immediately try to share or generate a link to copy, it doesn’t display anything on the generated link/doesn’t load the cart hash or template…).
After it is officially saved, the plugin works as expected.
- The topic ‘Plugin Only Displaying Saved Cart if logged in user first clicks “Saves Cart”’ is closed to new replies.