Zen Cart Logo
Forums / All Other Contributions/Addons / PRODUCT QUICK VIEW - need help to configuration

PRODUCT QUICK VIEW - need help to configuration

Views: 985

Results 1 to 10 of 10
16 Jan 2017, 1:00 PM
#1
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

PRODUCT QUICK VIEW - need help to configuration

Hello zc-friends I instaled this addon (PRODUCT QUICK VIEW) from zucando and work very well (With my custom configuration)

But there a fail, when I use PRODUCT QUICK VIEW to add product to the cart the page redirect to the product page,
this make no sense.

If I want add from product page I enter there directly, but if use PRODUCT QUICK VIEW to add a product the page should STAY where I was and see another model and buy faster.

Somebody know how configure it.
When I add a product using PRODUCT QUICK VIEW only apper PRODUCT ADDED TO CART and NO redirect to the product page?

To see it in action (test web only u can register to be able to add product to the cart) This WEB will be reseted after the probes made.
www.zencartnewage.com - browse to a product category and you will see "Vista Rapida" mean Quick View

Im using Dover fine a picaflor template on ZC 1.55D (almost fully updatd from 1.55B)

If you have this plugin instaled and need some help ask here and I will try help you.

16 Jan 2017, 1:07 PM
#2
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

Re: PRODUCT QUICK VIEW - need help to configuration

I wrote to the plugin owner and no help so much the answer...
*Dear Mauricio,
Thank you for question! Regarding the add to cart, the quick view product is using the default code from Zen Cart so if you want to do as what said, you must customize it. Best Regards, Chu *

16 Jan 2017, 4:28 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PRODUCT QUICK VIEW - need help to configuration

From what I see, though I didn't provide login information to this temporary site in order to test out the add-to-cart aspect. Product quick view displays your product in some "summarized" fashion. If you want your customers to see more then you need to add more. As to adding the product to the cart, if your store normally stays at the product information page after adding a product to the cart, then this additional software will add the product to the cart and never go anywhere else. If you have your store setup to go the the cart (admin->configuration->My Store) then the cart should be displayed after the product is/was added by this plugin. I would agree with the author, if you want the customer to be taken somewhere else after adding the product to the cart, then additional code would be needed. It seems to me that by the customer remaining on the current page, that the plugin has done it's task: provided a simply way to add product to the cart with relatively minimal customer interaction...

16 Jan 2017, 4:28 PM
#4
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

Re: PRODUCT QUICK VIEW - need help to configuration

Mauari:

Hello zc-friends I instaled this addon (PRODUCT QUICK VIEW) from zucando and work very well (With my custom configuration)

But there a fail, when I use PRODUCT QUICK VIEW to add product to the cart the page redirect to the product page,
this make no sense.

If I want add from product page I enter there directly, but if use PRODUCT QUICK VIEW to add a product the page should STAY where I was and see another model and buy faster.

Somebody know how configure it.
When I add a product using PRODUCT QUICK VIEW only apper PRODUCT ADDED TO CART and NO redirect to the product page?

To see it in action (test web only u can register to be able to add product to the cart) This WEB will be reseted after the probes made.
www.zencartnewage.com - browse to a product category and you will see "Vista Rapida" mean Quick View

Im using Dover fine a picaflor template on ZC 1.55D (almost fully updatd from 1.55B)

If you have this plugin instaled and need some help ask here and I will try help you.

USER [email protected]
PASS 123456

16 Jan 2017, 4:36 PM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PRODUCT QUICK VIEW - need help to configuration

On a mobile device, I don't see the possibility of adding a product to the cart from within the quick view. I see the product's image and additional images appear in a shadow box, but no options to add-to-cart even after logging in with the above credentials.

16 Jan 2017, 4:40 PM
#6
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

Re: PRODUCT QUICK VIEW - need help to configuration

I tried Display Cart After Adding Product in configuration to true and redirect to the cart products...
if false redirect to the product page..
and want no itinerance and stay on current page seeing products faster...

USER [email protected]
PASS 123456
for customer login on https://www.zencartnewage.com

16 Jan 2017, 4:44 PM
#7
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

Re: PRODUCT QUICK VIEW - need help to configuration

mc12345678:

On a mobile device, I don't see the possibility of adding a product to the cart from within the quick view. I see the product's image and additional images appear in a shadow box, but no options to add-to-cart even after logging in with the above credentials.

yep there are a css misconfiguration, the plugin provider no made it to mobile,
need change to display block detected devices and size.. not to hard to do will work in it soon,
to see the rest of option in the device display just swap to left side.

16 Jan 2017, 6:23 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: PRODUCT QUICK VIEW - need help to configuration

Mauari:

I tried Display Cart After Adding Product in configuration to true and redirect to the cart products...
if false redirect to the product page..
and want no itinerance and stay on current page seeing products faster...

USER [email protected]
PASS 123456
for customer login on https://www.zencartnewage.com
This is basically controlled by the code in includes/init_includes/init_cart_handler.php and then the action of includes/main_cart_actions.php such that when adding a product (not one from a multi-add) that the variable $goto is or will get set to the desired value of coming back to the current page which is also dependent on the uri that is provided in the button to add the product to the cart. In order to override this functionality, it would require some amount of custom coding.

17 Jan 2017, 1:44 PM
#9
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

Re: PRODUCT QUICK VIEW - need help to configuration

the cod to add QuickView button is this --> includes\modules\dover_fine\product_listing.php

          } else {
            $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
          }
$lc_text .= '<div class="quick-view"><a class="quick-view-link" href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '" data-fancybox-href="' . zen_href_link('controller', 'page=quick_view&products_id=' . $listing->fields['products_id'], $request_type) . '"  data-fancybox-type="ajax">' . QUICK_VIEW_LINK . '</a></div>';
        }
        break;
      }

CORE LINE

} else {
            $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
          }
        }
        break;
      }
17 Jan 2017, 1:54 PM
#10
mauari avatar

mauari

New Zenner

Join Date:
May 2011
Posts:
67
Plugin Contributions:
4

Re: PRODUCT QUICK VIEW - need help to configuration

DANMIT.. CORRECTION TO THE POST ABOVE
the codE to add QuickView button --> includes/modules/MYTEMPLATE/product_listing.php

//----
if (isset($_GET['manufacturers_id'])) {
  $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
} else {
  $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
}
$lc_text .= '<div class="quick-view"><a class="quick-view-link" href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'products_id=' . $listing->fields['products_id']) . '" data-fancybox-href="' . zen_href_link('controller', 'page=quick_view&products_id=' . $listing->fields['products_id'], $request_type) . '"  data-fancybox-type="ajax">' . QUICK_VIEW_LINK . '</a></div>';
//----

CORE LINE - ORIGINAL

} else {
          if (isset($_GET['manufacturers_id'])) {
            $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
          } else {
            $lc_text = '<a href="' . zen_href_link(zen_get_info_page($listing->fields['products_id']), 'cPath=' . (($_GET['manufacturers_id'] > 0 and $_GET['filter_id']) > 0 ?  zen_get_generated_category_path_rev($_GET['filter_id']) : ($_GET['cPath'] > 0 ? zen_get_generated_category_path_rev($_GET['cPath']) : zen_get_generated_category_path_rev($listing->fields['master_categories_id']))) . '&products_id=' . $listing->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>';
          }
        }
        break;