| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Customize "Quick View" product details modal window | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I'm wondering how to customize the information that is shown in the popup when the user clicks "quick view" from the product grid. Specifically, I want to
+ add the product's "description" beneath the title of the product in the "quick look" popup. + remove the "product options / variants" & "add to cart" buttons and instead add a button that clicks through to the product page. I am taking a look at these 2 files, but I'm not sure the best way to get this done... xcartdir/skins/customer/product/details/quick_look/body.twig xcartdir/classes/XLite/View/Product/Details/Customer/Page/QuickLook.php Which files I should be looking at to get this modification done? I already have a custom module for the theme in place for edits. Thank you ![]()
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
#2
|
|||||||
|
|||||||
![]() After looking further, I'm noticing this code from
xcartdir/skins/customer/product/details/quick_look/body.twig Code:
What exactly is happening on this line? {{ widget_list('product.details.quicklook') }} If I want to add description to this area, what is the best way?
__________________
Ant XC v5.3.1.8 Horizontal Flyout Categories Menu Module CloudSearch / CloudFilters XC v4.7.6 CloudSearch |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Please check this article:
http://devs.x-cart.com/en/basics/twig_guide.html widget_list() adds a placeholder that other templates/widgets can inject themselves into with the @ListChild annotation. Search for "@ListChild" in the source code for examples.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful ![]() Click here to learn how to apply patches X-Cart Extensions |
|||||||||
#4
|
|||||||
|
|||||||
![]() So in this case how can we inject the product description ?
Thanks and Regrads
__________________
Version 5.3.6.6 |
|||||||
|
|||
X-Cart forums © 2001-2020
|