This topic contains 1 reply, has 2 voices. Last updated by Cristián Lávaque 3 years, 7 months ago.
Topic Author | Topic |
---|---|
Posted: Friday May 24th, 2013 at 2:15 pm #50564 | |
On very rare cases I have incidents where a user places a duplicate order for the same item, which I later have to void. What I decided to do was put a shortcode conditional check on the checkout pages that will determine if they’re currently logged in, have s2member level 1, and already have access to the custom capability. If they meet all three criteria I’ll print out a warning that they do not need to initiate an unnecessary duplicate order. I went about it this way on the checkout page:
It appears to work fine, but I’m just curious if this can cause any silent conflict with the s2member pro form shortcode? Could there be any interference or collision that could occur within the PHP code that might be problematic? Something that could cause checkouts to fail or render improperly? Thanks. |