Currently, product options are selected in a pop-up after “Add to cart” is clicked.
Not in the default plugin they’re not…
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.
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…
Only just realised the theme this site is using is an elegant themes one and I know you dont support these, no worries, thanks.