Shortcodes only displayed for logged on users – quickshop
-
I am integrating quickshop into a simple static page WP site. I have edited the files to alter the layout as required and am close to the end.
Mostly going ok after correcting the folder name bug (quick-shop >> quickshop hides icons) and some other minor typos that prevent some of the options (thousands seperator) being saved (page_options) or read (get_option) back from the wp_options table. This has been my first plugin debugging session and I went and wrote my own small one so I could figure out what was happening and ask the right questions here.
The problem I have is that the shortcode results (the add to cart form) are not being displayed on the page unless one has browser session cookies or something active after logging into the admin interface. If I logout and then visit the site the shortcode results disappear again. The form is not sent to the browser, not a display problem but a server problem as the source has no sign of the correctly formatted shortcode or any form results.
Where would I go to look to find out why the results are only available to logged in users.
While quickcart is very close to what I need and simple enough that I think I will be able to code in the bits I want like basic contact form field verification (I have found some lovely js functions to do this, just need to find a place to include them) and figuring out how to get the order submit to go to a new page and clear the cart at the same time, this is a occasional problem for others so if you have a fix do share, the main cart gets cleared but the sidebar widget has the order lingering until a bit later, if sending to a new thank-you page the main cart is not always cleared, I think I can find the place to clear this also.
I have also lost the add shortcode icon in tinyMCE which has also been reported but can do without though it is odd that it shoudl be gone, I think it occured at the time I corrected the folder names and will test this later on another vanilla install.
Thanks for reading my first post.
- The topic ‘Shortcodes only displayed for logged on users – quickshop’ is closed to new replies.