• Resolved adejones

    (@adejones)


    Currently, product options are selected in a pop-up after “Add to cart” is clicked.

    I want the product options to appear actually on the page to be selected before “Add to cart” is clicked, therefore removing the pop-up.

    Is this possible?

    Thanks

    https://wordpress.org/plugins/eshop/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Currently, product options are selected in a pop-up after “Add to cart” is clicked.

    Not in the default plugin they’re not…

    Thread Starter adejones

    (@adejones)

    So something has been changed since plugin install to make this happen then.

    Any clues as to what files I should be looking at?

    I’ve checked through the theme files but nothing has been amended on the theme.

    Could it have anything to do with this in eshop.php:

    /* ajax the cart - won't allow me to put this in the above*/
    if(isset($eshopoptions['ajax_cart']) && 'yes' == $eshopoptions['ajax_cart']){
    	include_once 'public-functions.php';
    	add_action('wp_enqueue_scripts', 'eshop_ajax_inc'); //CHANGED HERE
    	add_action('wp_enqueue_scripts', 'eshop_action_javascript'); // CHANGED HERE
    	add_action('wp_ajax_eshop_special_action', 'eshop_special_action_callback');
    	add_action('wp_ajax_nopriv_eshop_special_action', 'eshop_special_action_callback');
    	add_action('wp_ajax_eshop_cart', 'eshop_cart_callback');
    	add_action('wp_ajax_nopriv_eshop_cart', 'eshop_cart_callback');
    	if ( isset( $_GET['eshoprandom'] ) )
     		add_action( 'template_redirect', 'eshop_random' );
    
    }

    (Wasnt sure if the “//changed here” was part of the original file or if someone has actually changed that.)

    So something has been changed since plugin install to make this happen then.

    Yes

    Any clues as to what files I should be looking at?

    I’m sorry but I have no idea where this change might have been made.

    Thread Starter adejones

    (@adejones)

    Ok, no problem.

    Tried the process of elimination, replaced all theme files (apart from those modified ie header.php and style.css) – Lightbox style pop up still appears on clicking Add to Cart

    Downloaded eshop again and re-uploaded/overwritten all plugin files – Lightbox style pop up still appears on clicking Add to Cart

    There are no other eshop related plugins or lightbox plugins installed so the only thing left is eshop settings (which i presume are stored in DB) but there is no such setting for “lightbox options” are there…

    Thread Starter adejones

    (@adejones)

    Only just realised the theme this site is using is an elegant themes one and I know you dont support these, no worries, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Options on page, not pop-up’ is closed to new replies.