VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: roman5527 on August 23, 2018, 12:39:20 pm

Title: Related products in addtocard pop up window
Post by: roman5527 on August 23, 2018, 12:39:20 pm
Hi. I want edit related products in addtocard pop up windows.

I want show always only products from one categorie. How i can edit code ?

Thanks
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 23, 2018, 13:25:46 pm
Or how i can load module in this pp up window ?
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on August 24, 2018, 01:04:39 am
File is here : JOOMLA_FOLDER/components/com_virtuemart/views/cart/tmpl/padded.php
Of course, it's better to do an override in your template
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 24, 2018, 12:22:53 pm
Thanks i know .

But any idea how i load module here ? Or products from one categories ?

thanks
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on August 24, 2018, 13:08:26 pm
Code: [Select]
<?php $module JModuleHelper::getModule('mod_NAME''Module title'); 
echo 
JModuleHelper::renderModule($module); ?>
Where mod_NAME is the  folder name(or joomla name) of the module eg. mod_virtuemart_product and 'Module title' the title you have set in the back-end.
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 25, 2018, 20:57:30 pm
Thanks . But i paste this code  i have this error in console : http://prntscr.com/kmts41

and pop up dont work , i dont see pop up windows.

can you help me fix it ?


thanks.
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on August 26, 2018, 12:41:46 pm
If you have already inside <?php ?> you dont need to add it and of course you have to respect the HTML DOM, and module need to be exist and set in Joomla modules list.
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 27, 2018, 21:05:40 pm
Hi, my padded.php file is here :

Code: [Select]
<?php
/**
*
* Layout for the add to cart popup
*
* @package VirtueMart
* @subpackage Cart
* @author Max Milbers
*
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2013 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: cart.php 2551 2010-09-30 18:52:40Z milbo $
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access');
echo 
'<div class="left">';
if(
$this->products){
$productModel VmModel::getModel('Product');
    
$product_images $productModel->getProduct($product->virtuemart_product_idtruefalse,true,$product->quantity);
    
$productModel->addImages($product_images,1);
foreach($this->products as $product){
if($product->quantity>0){
echo '<img class="image-pop" src="'.JURI::base(true).'/'.$product_images->images[0]->getFileUrlThumb().'" />';
echo '<h4>'.vmText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$product->product_name,$product->quantity).'</h4>';
} else {
if(!empty($product->errorMsg)){
echo '<h4>'.$product->errorMsg.'</h4>';
//echo '<h4>'.vmText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$product->product_name).'</h4><div>'.$product->errorMsg.'</div>';
}
}

}
}
echo 
'</div>';

echo 
'<a class="continue reset button" href="#" >' JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING') . '</a>';
echo 
'<a class="showcart floatright button" href="'  .JRoute::_("index.php?option=com_virtuemart&view=cart").'">' JText::_('COM_VIRTUEMART_CART_SHOW') . '</a>';

/*   Calling Joomla Module in Virtuemart product page */
 /*  $modules =&  JModuleHelper::getModules('vm-addtocart-position');
   foreach ($modules as $module)
   {
  echo JModuleHelper::renderModule($module);
   }*/
   
$module JModuleHelper::getModule('mod_vm2_products''Skuska'); 
echo 
JModuleHelper::renderModule($module);

?>


and module is enable and assigned to all pages.

But it is JS error.

Any idea ?

Thanks
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on August 27, 2018, 21:27:56 pm
Problem is not getFileUrlThumb ? i was thinking it was removed in Virtuemart 3.2 ? But not sure

Try this code
Code: [Select]
<?php
/**
*
* Layout for the add to cart popup
*
* @package VirtueMart
* @subpackage Cart
* @author Max Milbers
*
* @link http://www.virtuemart.net
* @copyright Copyright (c) 2013 VirtueMart Team. All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* @version $Id: cart.php 2551 2010-09-30 18:52:40Z milbo $
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die('Restricted access'); ?>

<div class="left">
<?php if($this->products){
$productModel VmModel::getModel('Product');
    
$product_images $productModel->getProduct($product->virtuemart_product_idtruefalse,true,$product->quantity);
    
$productModel->addImages($product_images,1);
foreach($this->products as $product){
if($product->quantity>0){ ?>

<img class="image-pop" src="<?php echo JURI::root().$product_images->images[0]->getFileUrlThumb() ?>" />
<h4><?php echo JvmText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$product->product_name,$product->quantity?></h4>
<?php } else {
if(!empty($product->errorMsg)){  ?>

<h4><?php echo $product->errorMsg ?></h4>
<?php //echo '<h4>'.vmText::sprintf('COM_VIRTUEMART_CART_PRODUCT_ADDED',$product->product_name).'</h4><div>'.$product->errorMsg.'</div>';
}
}

}
?>

</div>
<a class="continue reset button" href="#" ><?php echo JText::_('COM_VIRTUEMART_CONTINUE_SHOPPING'?></a>
<a class="showcart floatright button" href="<?php echo JRoute::_("index.php?option=com_virtuemart&view=cart"?>"><?php echo JText::_('COM_VIRTUEMART_CART_SHOW'?></a>
<?php 
// load modules/mod_vm2_products with title  Skuska    
$module JModuleHelper::getModule('mod_vm2_products''Skuska'); 
echo 
JModuleHelper::renderModule($module);

?>

Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 30, 2018, 07:53:17 am
Thank you very mutch .

But problem is not solved.

i try your code and i see this error : http://prntscr.com/koifag

thanks
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on August 30, 2018, 13:41:39 pm
You dont have a javscript error, it's only that jquery try to load the page and you have error 500(PHP error)
You should check the error displayed in your browser console>network but this is a typical syntax error.
Try to comment this lines and see if it work
//$module = JModuleHelper::getModule('mod_vm2_products', 'Skuska');
//echo JModuleHelper::renderModule($module);
But if you  do it yourself, you should learn some PHP tutorial for beginner and how to debug PHP/Joomla
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 30, 2018, 23:21:35 pm
Hi. Thanks

But i add your code i dont see pop-up window and product dont add to cart.

When i comment this rows All is ok

Please where is problem?

Thanks
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on August 30, 2018, 23:31:22 pm
Activate PHP debug and check the response in your browser console.
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on August 31, 2018, 15:08:33 pm
Hi, i enable show error in joomla configuration to "develop" and i see this in browser console : http://prntscr.com/kp31py

thannks

Title: Re: Related products in addtocard pop up window
Post by: Jörgen on August 31, 2018, 15:37:59 pm
The errors are quite Self explanatory. Take away your facebook plugin and check server log file for 500 error.

Regards
Jörgen @ Kreativ Fotografi
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 01, 2018, 08:24:21 am
Hi, Jorgen. Thanks for your answer.

But my problem is why after add code in pop up , I dont see pop up window and add to cart dont work.

Thanks
Title: Re: Related products in addtocard pop up window
Post by: Jörgen on September 01, 2018, 09:09:22 am
Why Do You expect the code to work when You obviously have other errors in You site ?

Please make Your code free of bugs before trying to add new features.

Adding code at random can very well also give this kind of result.

Jörgen @ Kreativ Fotografi
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 01, 2018, 09:47:24 am
Hi, i solved some errors in console .

Now console see this : http://prntscr.com/kpcs9e , this is before click to add to cart button.

When i click to add to cart button i see in console this : http://prntscr.com/kpcskc

any idea ?

thanks
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on September 01, 2018, 11:12:43 am
If you click in the error, you should see more details.
But an error 500 is a syntax error most time or a call to an missing PHP class.
You should check your PHP error.log, if you activate PHP debug, you have the report about this error.
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 01, 2018, 21:12:33 pm
Hi, when i enable system debug in joomla i see in console this error : http://prntscr.com/kpi9gr

and in logs/everything.php i see :

Code: [Select]
#
#<?php die('Forbidden.'); ?>
#Date: 2018-09-01 19:07:52 UTC
#Software: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT

#Fields: datetime priority clientip category message
2018-09-01T19:07:52+00:00 CRITICAL 185.130.184.226 error Uncaught \Exception of type JException thrown. Stack trace: #0 /domains1/gh43182500/public/www_root/libraries/legacy/error/error.php(277): JError::raise(1, 404, '\xC4\x8Cl\xC3\xA1nok nebol ...', NULL, true)
#1 /domains1/gh43182500/public/www_root/components/com_content/models/article.php(152): JError::raiseError(404, '\xC4\x8Cl\xC3\xA1nok nebol ...')
#2 /domains1/gh43182500/public/www_root/plugins/system/t3/includes/joomla4/HtmlView.php(423): ContentModelArticle->getItem()
#3 /domains1/gh43182500/public/www_root/components/com_content/views/article/view.html.php(42): Joomla\CMS\MVC\View\HtmlView->get('Item')
#4 /domains1/gh43182500/public/www_root/libraries/src/MVC/Controller/BaseController.php(672): ContentViewArticle->display()
#5 /domains1/gh43182500/public/www_root/components/com_content/controller.php(113): Joomla\CMS\MVC\Controller\BaseController->display(true, Array)
#6 /domains1/gh43182500/public/www_root/libraries/src/MVC/Controller/BaseController.php(710): ContentController->display()
#7 /domains1/gh43182500/public/www_root/components/com_content/content.php(43): Joomla\CMS\MVC\Controller\BaseController->execute(NULL)
#8 /domains1/gh43182500/public/www_root/libraries/src/Component/ComponentHelper.php(382): require_once('/domains1/gh431...')
#9 /domains1/gh43182500/public/www_root/libraries/src/Component/ComponentHelper.php(357): Joomla\CMS\Component\ComponentHelper::executeComponent('/domains1/gh431...')
#10 /domains1/gh43182500/public/www_root/libraries/src/Application/SiteApplication.php(194): Joomla\CMS\Component\ComponentHelper::renderComponent('com_content')
#11 /domains1/gh43182500/public/www_root/libraries/src/Application/SiteApplication.php(233): Joomla\CMS\Application\SiteApplication->dispatch()
#12 /domains1/gh43182500/public/www_root/libraries/src/Application/CMSApplication.php(195): Joomla\CMS\Application\SiteApplication->doExecute()
#13 /domains1/gh43182500/public/www_root/index.php(49): Joomla\CMS\Application\CMSApplication->execute()
#14 {main}
2018-09-01T19:10:03+00:00 INFO 213.215.80.134 updater Loading information from update site #1 with name "" and URL https://update.joomla.org/core/sts/list_sts.xml took 0.42 seconds
2018-09-01T19:10:04+00:00 INFO 213.215.80.134 updater Loading information from update site #40 with name "jQuery Easy auto updater" and URL http://www.barejoomlatemplates.com/autoupdates/jqueryeasy/jqueryeasy-update.xml took 0.83 seconds
2018-09-01T19:10:05+00:00 INFO 213.215.80.134 updater Loading information from update site #43 with name "VirtueMart plg_vmuserfield_realex_hpp_api Update Site" and URL http://virtuemart.net/releases/vm3/plg_vmuserfield_realex_hpp_api_update.xml took 0.40 seconds
2018-09-01T19:10:05+00:00 INFO 213.215.80.134 updater Loading information from update site #45 with name "VirtueMart3 MOD_VMENU Update Site" and URL http://virtuemart.net/releases/vm3/mod_vmmenu_update.xml took 0.27 seconds
2018-09-01T19:10:06+00:00 INFO 213.215.80.134 updater Loading information from update site #46 with name "AcyMailing" and URL http://www.acyba.com/component/updateme/updatexml/component-acymailing/level-Starter/file-extension.xml took 1.08 seconds
2018-09-01T19:10:06+00:00 INFO 213.215.80.134 updater Loading information from update site #47 with name "JComments Update Site" and URL http://www.joomlatune.ru/updates/jcomments.xml took 0.30 seconds
2018-09-01T19:10:07+00:00 INFO 213.215.80.134 updater Loading information from update site #48 with name "VirtueMart plg_vmpayment_klickandpay Update Site" and URL http://virtuemart.net/releases/vm3/plg_vmpayment_klikandpay_update.xml took 0.35 seconds
2018-09-01T19:10:07+00:00 INFO 213.215.80.134 updater Loading information from update site #49 with name "VirtueMart plg_vmpayment_amazon Update Site" and URL http://virtuemart.net/releases/vm3/plg_vmpayment_amazon_update.xml took 0.30 seconds
2018-09-01T19:10:07+00:00 INFO 213.215.80.134 updater Loading information from update site #50 with name "Weblinks Update Site" and URL https://raw.githubusercontent.com/joomla-extensions/weblinks/master/manifest.xml took 0.20 seconds
2018-09-01T19:10:07+00:00 INFO 213.215.80.134 updater Loading information from update site #1 with name "" and URL https://update.joomla.org/core/sts/list_sts.xml took 0.08 seconds
2018-09-01T19:10:07+00:00 INFO 213.215.80.134 updater Loading information from update site #51 with name "VirtueMart plg_system_amazon Update Site" and URL http://virtuemart.net/releases/vm3/plg_system_amazon_update.xml took 0.23 seconds
2018-09-01T19:10:08+00:00 INFO 213.215.80.134 updater Loading information from update site #52 with name "TCPDF Update Site" and URL http://virtuemart.net/releases/TCPDF/tcpdf.xml took 0.23 seconds
2018-09-01T19:10:08+00:00 INFO 213.215.80.134 updater Loading information from update site #54 with name "Accredited Joomla! Translations" and URL https://update.joomla.org/language/translationlist_3.xml took 0.07 seconds
2018-09-01T19:10:08+00:00 INFO 213.215.80.134 updater Loading information from update site #55 with name "VirtueMart3 plg_vmpayment_tco Update Site" and URL http://virtuemart.net/releases/vm3/plg_vmpayment_tco_update.xml took 0.23 seconds
2018-09-01T19:10:08+00:00 INFO 213.215.80.134 updater Loading information from update site #56 with name "VirtueMart3 mod_virtuemart_search Update Site" and URL http://virtuemart.net/releases/vm3/mod_virtuemart_search_update.xml took 0.23 seconds
2018-09-01T19:10:09+00:00 INFO 213.215.80.134 updater Loading information from update site #57 with name "Accredited Joomla! Translations" and URL http://update.joomla.org/language/translationlist_3.xml took 0.43 seconds
2018-09-01T19:10:10+00:00 INFO 213.215.80.134 updater Loading information from update site #58 with name "SP Page Builder" and URL http://www.joomshaper.com/updates/com-sp-page-builder-pro.xml took 0.64 seconds
2018-09-01T19:10:11+00:00 INFO 213.215.80.134 updater Loading information from update site #59 with name "VMOnepage Update Site" and URL http://vmonepage.com/releases/vmonepage_update.xml took 0.95 seconds
2018-09-01T19:10:11+00:00 WARNING 213.215.80.134 updater Error opening url: http://vmonepage.com/releases/vmonepage_update.xml for update site: VMOnepage Update Site
2018-09-01T19:10:11+00:00 INFO 213.215.80.134 updater Loading information from update site #60 with name "SP Page Builder" and URL https://www.joomshaper.com/updates/com-sp-page-builder-pro.xml took 0.17 seconds
2018-09-01T19:10:11+00:00 INFO 213.215.80.134 updater Loading information from update site #62 with name "Plugin Googlemap Update Site" and URL http://www.mapsplugin.com/update/plugin_googlemap3/extension.xml took 0.05 seconds
2018-09-01T19:10:11+00:00 INFO 213.215.80.134 updater Loading information from update site #63 with name "Plugin Googlemap Update Site" and URL https://raw.githubusercontent.com/jmosmap/plugin_googlemaps/master/update/extension.xml took 0.09 seconds
2018-09-01T19:10:11+00:00 INFO 213.215.80.134 updater Loading information from update site #64 with name "VirtueMart3 mod_virtuemart_manufacturer Update Site" and URL http://virtuemart.net/releases/vm3/mod_virtuemart_manufacturer_update.xml took 0.23 seconds
2018-09-01T19:10:12+00:00 INFO 213.215.80.134 updater Loading information from update site #65 with name "" and URL http://update.joomlart.com/service/tracking/j16/plg_system_t3.xml took 1.07 seconds
2018-09-01T19:10:12+00:00 INFO 213.215.80.134 updater Loading information from update site #66 with name "VM Framework Loader during Plugin Updates" and URL http://virtuemart.net/releases/vm3/plg_system_vmLoaderPluginUpdate_update.xml took 0.24 seconds
2018-09-01T19:10:13+00:00 INFO 213.215.80.134 updater Loading information from update site #67 with name "Unite Slider" and URL http://unitecms.net/update/unite-slider.xml took 0.59 seconds
2018-09-01T19:10:13+00:00 INFO 213.215.80.134 updater Loading information from update site #68 with name "VirtueMart One Page Checkout" and URL http://joomlaprox.com/index.php?option=com_rdsubs&view=updater&cat=4&type=3&format=xml took 0.13 seconds
2018-09-01T19:10:13+00:00 INFO 213.215.80.134 updater Loading information from update site #68 with name "VirtueMart One Page Checkout" and URL http://joomlaprox.com/index.php?option=com_rdsubs&view=updater&cat=4&type=3&format=xml/extension.xml took 0.08 seconds
2018-09-01T19:10:13+00:00 WARNING 213.215.80.134 updater Error opening url: http://joomlaprox.com/index.php?option=com_rdsubs&view=updater&cat=4&type=3&format=xml/extension.xml for update site: VirtueMart One Page Checkout
2018-09-01T19:10:13+00:00 INFO 213.215.80.134 updater Loading information from update site #69 with name "WebInstaller Update Site" and URL https://appscdn.joomla.org/webapps/jedapps/webinstaller.xml took 0.26 seconds
2018-09-01T19:10:14+00:00 INFO 213.215.80.134 updater Loading information from update site #70 with name "CSVI Pro" and URL http://www.csvimproved.com/updates/csvipro.xml took 0.18 seconds
2018-09-01T19:10:14+00:00 INFO 213.215.80.134 updater Loading information from update site #71 with name "VirtueMart Addon" and URL http://www.csvimproved.com/updates/virtuemart.xml took 0.12 seconds
2018-09-01T19:10:17+00:00 INFO 213.215.80.134 updater Loading information from update site #72 with name "Daycounts Updater plugin" and URL http://www.daycounts.com/index.php?option=com_versions&catid=40&task=updateserver.xml took 3.15 seconds
2018-09-01T19:10:18+00:00 INFO 213.215.80.134 updater Loading information from update site #73 with name "Virtuemart Migrator Updater" and URL https://www.daycounts.com/index.php?option=com_versions&catid=33&task=updateserver.xml took 0.71 seconds
2018-09-01T19:10:18+00:00 INFO 213.215.80.134 updater Loading information from update site #74 with name "Virtuemart addon for JMigrator" and URL https://www.daycounts.com/index.php?option=com_versions&catid=50&task=updateserver.xml took 0.73 seconds
2018-09-01T19:10:19+00:00 INFO 213.215.80.134 updater Loading information from update site #77 with name "Simple Image Gallery" and URL http://www.joomlaworks.net/updates/jw_sig.xml took 0.10 seconds
2018-09-01T19:10:19+00:00 INFO 213.215.80.134 updater Loading information from update site #78 with name "VP One Page Checkout" and URL http://cdn.virtueplanet.com/updates/opc.xml took 0.76 seconds
2018-09-01T19:10:19+00:00 INFO 213.215.80.134 updater Loading information from update site #79 with name "VM Payment eCard VUB" and URL http://www.holdysoftware.sk/support/vm3/plg_vubecard.xml took 0.03 seconds
2018-09-01T19:10:20+00:00 INFO 213.215.80.134 updater Loading information from update site #81 with name "Akeeba Backup Core" and URL https://cdn.akeebabackup.com/updates/pkgakeebacore.xml took 0.51 seconds
2018-09-01T19:10:21+00:00 INFO 213.215.80.134 updater Loading information from update site #82 with name "RicheyWeb Update Site" and URL https://www.richeyweb.com/updates/adminexile.xml took 0.66 seconds
2018-09-01T19:10:26+00:00 INFO 213.215.80.134 updater Loading information from update site #83 with name "PLG_ECC" and URL https://check.kubik-rubik.de/updates/ecc_legacy.xml took 5.18 seconds
2018-09-01T19:10:26+00:00 INFO 213.215.80.134 updater Loading information from update site #85 with name "VMCustom - Embed Video" and URL https://www.nordmograph.com/extensions/updateserver/plg_vmcustom_embedvideo-update.xml took 0.29 seconds
2018-09-01T19:10:26+00:00 INFO 213.215.80.134 updater Loading information from update site #86 with name "VirtueMart One Page Checkout" and URL http://joomlapro.com/index.php?option=com_rdsubs&view=updater&cat=4&type=3&format=xml took 0.32 seconds
2018-09-01T19:10:27+00:00 INFO 213.215.80.134 updater Loading information from update site #87 with name "jQuery Easy auto updater" and URL http://www.barejoomlatemplates.com/autoupdates/jqueryeasy/jqueryeasy-v2-update.xml took 0.47 seconds
2018-09-01T19:10:30+00:00 INFO 213.215.80.134 updater Loading information from update site #88 with name "JCH Optimize Updates" and URL https://www.jch-optimize.net/index.php?option=com_ars&view=update&task=stream&format=xml&id=5&file=extension.xml took 2.73 seconds
2018-09-01T19:10:30+00:00 INFO 213.215.80.134 updater Loading information from update site #89 with name "K2 Updates" and URL http://getk2.org/app/update.xml took 0.29 seconds
2018-09-01T19:10:30+00:00 INFO 213.215.80.134 updater Loading information from update site #92 with name "reDim-Service-Update" and URL https://www.redim.de/jupdates/cookiehint.xml took 0.12 seconds
2018-09-01T19:10:32+00:00 INFO 213.215.80.134 updater Loading information from update site #93 with name "" and URL http://update.joomlart.com/service/tracking/j16/plg_jagdpr_custom.xml took 1.45 seconds
2018-09-01T19:10:33+00:00 INFO 213.215.80.134 updater Loading information from update site #94 with name "" and URL http://update.joomlart.com/service/tracking/j16/plg_jagdpr_general.xml took 0.94 seconds
2018-09-01T19:10:33+00:00 INFO 213.215.80.134 updater Loading information from update site #95 with name "" and URL http://update.joomlart.com/service/tracking/j16/plg_jagdpr_joomla.xml took 0.73 seconds
2018-09-01T19:10:34+00:00 INFO 213.215.80.134 updater Loading information from update site #96 with name "" and URL http://update.joomlart.com/service/tracking/j31/com_jagdpr.xml took 1.06 seconds
2018-09-01T19:10:35+00:00 INFO 213.215.80.134 updater Loading information from update site #97 with name "" and URL http://update.joomlart.com/service/tracking/j16/plg_jagdpr_acymailing.xml took 1.03 seconds
2018-09-01T19:10:37+00:00 INFO 213.215.80.134 updater Loading information from update site #98 with name "" and URL http://update.joomlart.com/service/tracking/j16/plg_jagdpr_virtuemart.xml took 1.18 seconds
2018-09-01T19:10:37+00:00 INFO 213.215.80.134 updater Loading information from update site #100 with name "ChronoForms v6 update server" and URL http://www.chronoengine.com/chrono_joomla_updates/chronoforms6.xml took 0.51 seconds
2018-09-01T19:10:37+00:00 INFO 213.215.80.134 updater Loading information from update site #101 with name "Privacy Policy for VirtueMart" and URL http://cdn.virtueplanet.com/updates/privacy.xml took 0.24 seconds
2018-09-01T19:10:38+00:00 INFO 213.215.80.134 updater Loading information from update site #102 with name "Regular Labs - Modules Anywhere" and URL https://download.regularlabs.com/updates.xml?e=modulesanywhere&type=.xml took 0.34 seconds
2018-09-01T19:10:38+00:00 INFO 213.215.80.134 updater Loading information from update site #103 with name "RicheyWeb Update Site" and URL https://cdn.richeyweb.com/updates/adminexile.xml took 0.50 seconds
2018-09-01T19:10:39+00:00 INFO 213.215.80.134 updater Loading information from update site #104 with name "FOF 3.x" and URL http://cdn.akeebabackup.com/updates/fof3.xml took 0.23 seconds
2018-09-01T19:10:39+00:00 INFO 213.215.80.134 updater Loading information from update site #105 with name "Akeeba FEF" and URL http://cdn.akeebabackup.com/updates/fef.xml took 0.01 seconds
2018-09-01T19:10:39+00:00 INFO 213.215.80.134 updater Loading information from update site #106 with name "CEGCore v2 update server" and URL http://www.chronoengine.com/chrono_joomla_updates/cegcore2.xml took 0.65 seconds
2018-09-01T19:10:40+00:00 INFO 213.215.80.134 updater Loading information from update site #107 with name "Simple Image Gallery" and URL https://cdn.joomlaworks.org/updates/sig.xml took 0.67 seconds
2018-09-01T19:10:40+00:00 INFO 213.215.80.134 updater Loading information from update site #108 with name "JCE Editor Package" and URL https://cdn.joomlacontenteditor.net/updates/xml/pkg_jce.xml took 0.25 seconds
2018-09-01T19:10:41+00:00 INFO 213.215.80.134 updater Loading information from update site #109 with name "" and URL http://update.joomlart.com/service/tracking/j31/plg_jagdpr_custom.xml took 0.60 seconds
2018-09-01T19:10:42+00:00 INFO 213.215.80.134 updater Loading information from update site #110 with name "" and URL http://update.joomlart.com/service/tracking/j31/plg_jagdpr_general.xml took 0.60 seconds
2018-09-01T19:10:42+00:00 INFO 213.215.80.134 updater Loading information from update site #111 with name "" and URL http://update.joomlart.com/service/tracking/j31/plg_jagdpr_joomla.xml took 0.62 seconds
2018-09-01T19:10:42+00:00 INFO 213.215.80.134 updater Loading information from update site #112 with name "PLG_EASYERRORREPORTING" and URL https://check.kubik-rubik.de/updates/easyerrorreporting.xml took 0.10 seconds


Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on September 01, 2018, 22:05:15 pm
THis is not the PHP error log
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 01, 2018, 22:16:47 pm
And where a find PHP error log?

Thanks
Title: Re: Related products in addtocard pop up window
Post by: GJC Web Design on September 01, 2018, 23:05:39 pm
depends on your host/server

ask your host where to find it / enable logging etc
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 04, 2018, 18:21:32 pm
Hi, here is my php error log :

Code: [Select]
[03-Sep-2018 17:32:27 Europe/Prague] PHP Warning:  setcookie() expects parameter 3 to be long, string given in /domains1/gh43182500/public/www_root/plugins/system/cookiehint/cookiehint.php on line 38
[03-Sep-2018 18:32:41 Europe/Prague] PHP Warning:  Invalid argument supplied for foreach() in /domains1/gh43182500/public/www_root/templates/t3_bs3_blank/html/com_virtuemart/category/default_recently.php on line 20
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'active' in /domains1/gh43182500/public/www_root/templates/t3_bs3_blank/html/pagination.php on line 110
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'active' in /domains1/gh43182500/public/www_root/templates/t3_bs3_blank/html/pagination.php on line 114
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'relative' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 626
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'pathOnly' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 627
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectBrowser' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 628
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectDebug' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 629
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'relative' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 632
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectBrowser' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 632
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectDebug' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 632
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'pathOnly' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 635
Title: Re: Related products in addtocard pop up window
Post by: Jörgen on September 04, 2018, 19:31:46 pm
These are just a couple of warnings, but indicates that you may have to try to deactivate cookiehint / update ?
warning www_root/plugins/system/cookiehint/cookiehint.php on line 38

Seems to be some issue in Your template: t3_bs3_blank
warning www_root/templates/t3_bs3_blank/html/com_virtuemart/category/default_recently.php line 20

The error log is probably longer, search for error.

Jörgen @ Kreativ Fotografi
Title: Re: Related products in addtocard pop up window
Post by: GJC Web Design on September 04, 2018, 20:34:11 pm
Quote
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'active' in /domains1/gh43182500/public/www_root/templates/t3_bs3_blank/html/pagination.php on line 110
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'active' in /domains1/gh43182500/public/www_root/templates/t3_bs3_blank/html/pagination.php on line 114
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'relative' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 626
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'pathOnly' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 627
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectBrowser' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 628
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectDebug' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 629
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'relative' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 632
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectBrowser' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 632
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'detectDebug' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 632
[03-Sep-2018 18:45:44 Europe/Prague] PHP Warning:  Illegal string offset 'pathOnly' in /domains1/gh43182500/public/www_root/libraries/src/HTML/HTMLHelper.php on line 635

all these are caused by an out of date call I suspect  in a VM over ride from your template to the old way of incl. css files

look for calls like

JHtml::stylesheet ('vmpanels.css', JURI::root () . 'components/com_virtuemart/assets/css/');

and replace with

vmJsApi::css('vmpanels');

but nothing relating to the post subject
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 04, 2018, 20:43:58 pm
Hi, i deactiveted cookiehit and now i see this in console : http://prntscr.com/kqlf17

nothing error. but i dont see popup .

any idea ?
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on September 04, 2018, 21:24:41 pm
I know the problem, you use cloudflare cache.
Deactivate cloudflare cache or disable json,html,php files from cloudflare cache.
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 07, 2018, 09:08:06 am
Hi, i dont use any cache.

I found one row with cloudflare and it this : http://prntscr.com/krlahq

but it is only any css file.

there is no way to display the products in the pop up window add to card? some plugin? well thank you
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on September 07, 2018, 10:03:50 am

there is no way to display the products in the pop up window add to card? some plugin? well thank you
I think i always explained you, if you cannot do it, you have to find a developer and pay for this, so he check why it not work on debugging PHP.
Title: Re: Related products in addtocard pop up window
Post by: roman5527 on September 07, 2018, 10:55:16 am
could you do that? and what would happen?

thanks
Title: Re: Related products in addtocard pop up window
Post by: Studio 42 on September 07, 2018, 13:25:28 pm
I can solve the problem and many other devs in this forum, but this need to debug and code the right solution.
You can use PM(click the chat icon on left side after my number of post) or any from in my shop.