• Resolved KalleP

    (@kallep)


    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.

Viewing 1 replies (of 1 total)
  • Thread Starter KalleP

    (@kallep)

    The problem is resolved.

    It was my misunderstanding of the captions for the settings. While tuning security settings I turned off the buy now button for not-logged-in users and it also turned off the add to cart form, I should have remembered that quickcart only has one way of shopping and realised that the checkbox would affect my form.

    It took a while for the pennny to drop as it worked on the development machines on various browsers intermittently that had logged in to the wp-admin interface previously but not on visitors machines or part time admin machines.

    I had missed one more incorrect folder reference in the quickshop_class.php file that referenced the tinyMCE button in the incorrect folder and the add shortcode button is now back.

    Now for the finishing touches.

Viewing 1 replies (of 1 total)
  • The topic ‘Shortcodes only displayed for logged on users – quickshop’ is closed to new replies.