Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter jurij_c

    (@jurij_c)

    Hi, sorry for late answer.

    Change to ‘#’ didn’t make any change.

    To compare:
    markup (first picture, not full markup) for none:

    <div class="photonic-google-image photonic-google-photo photonic-pad-photos photonic-level-1 photonic-thumb photonic-thumb-random">
    			<a  href="https://photos.google.com/lr/album/ALs5n1ljmdcD5D8D0KIhN3nLYQ79Px8eZZNffezwCwBqV6jFHRBcFzcD8SyKNPbWPr3HCWIflTF1/photo/ALs5n1n7SHVuFpXMhBcHZ5h-zfSrW6NVn4gOeDnGi0rZNT1mPkKswrzIny8Mey0E-SpNO-aXSKx3kuBJpeOHL0GFccc-DDz1wg" title="" data-title=""   data-photonic-deep="gallery[photonic-google-album-1]/ALs5n1n7SHVuFpXMhBcHZ5h-zfSrW6NVn4gOeDnGi0rZNT1mPkKswrzIny8Mey0E-SpNO-aXSKx3kuBJpeOHL0GFccc-DDz1wg/" >
    				<img alt="" src="https://lh3.googleusercontent.com/lr/AGWb-e5AsPfpAungtOvwITu8AdMk1RL9cLRnB86SvR6fwLty-6uJOSA5fPLpdA0Kykn9pOPAhSCgBeDhJYV75u8ALLfGZoSHtOLF6lgMrVvgPniFQkEjgpKVZ9Ez2GJZI0TqoWKZ4dGnKvrLmFLjC5gDYWClPitoX-2eYB4jlX-uQM3IlTicO_kbmJ9UUz9xdp8kSb-xet7X6fMAL35lQTYRDbKDmaG4Hli-xp3zbwcx5xzUtbxhDlhuN6xAVhtfzgZvhh_gadEwphHhCs8py6aen_Jqfnuzp5sfqiE4D2czAX52r3Ed_pggZTjpNLaDS_1tkXdwls-sDp8JIG438iKoGIy7zGTGAPkghYShq-9LFh-1NacFtLtUZErYyT-pJwKHTc7rtjgrVrhg1d0qxRZijvx2nDxhzuyEMfEnzGi2u8FgyympHFwJrGWA9Ce2mJPx0u4SiTwjsFLvOOggGzljV739EFn9m9OIR8w2SF7FOyzIxQuGoNOLxAr0GKlcf2F-AtD0VNSYerLOvL84wN8_buiPabVvICSAVuwZpXuh-KsYUIiQG2wuNlOWYKpN7PGBlO0JE0sr0_-qxHmjg1Np1c6QdQa9ROw4F0h8GfPseM2LsyKWI_zD27Rdt71mNMqVA5NY_j3wlzS2lrrTvuk_vwRbXM0sTrHZ_tiAoWaF6oCRTCpI1m6BzjEmcUdRZ_5dEnoI9nML7ebhJfq3LxfPECdNw4L5Q6rW2i-xzZ92jJ14ktg83oEh9C0dZiXORBlHhQoFdgjA4V70Ggybp3ELrqIzDKML4HAKgHHBStd5bzmQrPAwcQYe4zuQfPnqGdJ9pqw_0e0hHLucOe5bqp4Miwx6d1pN3LgbX_TR0xDQMR2Y68clQ1PLMXtKfk922yMOoRJlzeDTMQ=w1600-h1600"  class='random' />
    </a>
    </div>

    2) markup for magnific

    <div class='photonic-google-stream photonic-stream' id='photonic-google-stream-1'>
    	<div id='photonic-google-stream-1-container' class='title-display-regular photonic-level-1-container photonic-random-layout photonic-thumbnail-effect-none'  data-photonic-stream-query="columns=auto&layout=random&more=&display=in-page&panel=&filter=&filter_type=include&fx=slide&timeout=4000&speed=1000&pause=1&strip-style=thumbs&controls=show&popup=hide&caption=title&thumb_size=150&main_size=1600&tile_size=1600&crop_thumb=crop&count=100&media=photos&video_size=m37&date_filters=&content_filters=&access=all&type=google&style=default&id=13277&view=photos&album_id=ALs5n1ljmdcD5D8D0KIhN3nLYQ79Px8eZZNffezwCwBqV6jFHRBcFzcD8SyKNPbWPr3HCWIflTF1&overlay_size=150&overlay_crop=crop"  data-photonic-gallery-columns="auto">
    		<div class="photonic-google-image photonic-google-photo photonic-pad-photos photonic-level-1 photonic-thumb photonic-thumb-random">
    			<a  class='photonic-launch-gallery launch-gallery-magnific magnific mfp-image'  rel='lightbox-photonic-google-stream-1'  href="https://lh3.googleusercontent.com/lr/AGWb-e76yjm-mK_m-fEEveZwqWuroEOtYuC-tdhzB29kFGGRHY7YNtXHWbPm2RBY5MFJhqmx8fxWN5zyYAhCzXBUYE8KY0Uc8j9BCYWTrnKL9M-6za-QmT2AuvVC9cCpDDO1mUNFUShz0Kyo-hxFwbYKHyRQN4C6G8HxWM3mnEZuCRoNT50w9sDexbU4VQby7gvfQrHTFwtjqCLucGsInzlbwENo0Q2zEblOMFbkCWFqBNTJhl6a3__bFBETXUOffXUDOBYuipkHgQqp3zQdYQssieKAgG2NBcClR2_bC79HqcU1FzwSOoncxhOP3uiBg5UlSsY2Dc0PmrCIXyTd_eCbx-62YUTLiebFsGjQrbJoVL18z4WZ_zWmqcGt6xwCqX9HwkO76JPVWCHgUX5kMOrXo0ZNam3Z-nNKmCUaZMP7HIQUaNM6ap9iRscqFcbMcC0fwmaBTH7I5ixGkV-JDqNfTbRUiNRpFzjbo33dYnw9KLiPyApjVjR7j0M4nl4KDF47l2YvbHavDgdQxT8bFkn3vt6bj1tNOIljS2fUut0pI6dunOSQErvYdMdhrtJaPWJUnMvOTQGNimBAe-a0e0FekCogD2SGmxaoqttYmY4UWlfN2PvbxQd8DhSz-GjWNk3NkuFfus9B-xcvh5vCCQUjm-3s1bQo4rLkjRSSjcEWlCYbD_3zpWKslDTrAO_QIK3KgH6JmxlvS2qz8DrWLuCPtLKHfXTMTCuoHZ9rrQYmNF8W4yFksvYgRLxDe0bvGs86WHFqAzryFWjTXSpknW49Tu_QNtaZVG2Tl07nqn_IWUjC5PV_o8eHGcbqEET2GXPRdABqoEpD9uzY3SG_Jjs4UYNs36Ch2CkMDaBkw-elIaPgiLwzSBtBmtgDDVPK3ldk2HLC0DWN4A=w1600-h1600" title="" data-title=""   data-photonic-deep="gallery[photonic-google-album-1]/ALs5n1n7SHVuFpXMhBcHZ5h-zfSrW6NVn4gOeDnGi0rZNT1mPkKswrzIny8Mey0E-SpNO-aXSKx3kuBJpeOHL0GFccc-DDz1wg/" >
    				<img alt="" src="https://lh3.googleusercontent.com/lr/AGWb-e76yjm-mK_m-fEEveZwqWuroEOtYuC-tdhzB29kFGGRHY7YNtXHWbPm2RBY5MFJhqmx8fxWN5zyYAhCzXBUYE8KY0Uc8j9BCYWTrnKL9M-6za-QmT2AuvVC9cCpDDO1mUNFUShz0Kyo-hxFwbYKHyRQN4C6G8HxWM3mnEZuCRoNT50w9sDexbU4VQby7gvfQrHTFwtjqCLucGsInzlbwENo0Q2zEblOMFbkCWFqBNTJhl6a3__bFBETXUOffXUDOBYuipkHgQqp3zQdYQssieKAgG2NBcClR2_bC79HqcU1FzwSOoncxhOP3uiBg5UlSsY2Dc0PmrCIXyTd_eCbx-62YUTLiebFsGjQrbJoVL18z4WZ_zWmqcGt6xwCqX9HwkO76JPVWCHgUX5kMOrXo0ZNam3Z-nNKmCUaZMP7HIQUaNM6ap9iRscqFcbMcC0fwmaBTH7I5ixGkV-JDqNfTbRUiNRpFzjbo33dYnw9KLiPyApjVjR7j0M4nl4KDF47l2YvbHavDgdQxT8bFkn3vt6bj1tNOIljS2fUut0pI6dunOSQErvYdMdhrtJaPWJUnMvOTQGNimBAe-a0e0FekCogD2SGmxaoqttYmY4UWlfN2PvbxQd8DhSz-GjWNk3NkuFfus9B-xcvh5vCCQUjm-3s1bQo4rLkjRSSjcEWlCYbD_3zpWKslDTrAO_QIK3KgH6JmxlvS2qz8DrWLuCPtLKHfXTMTCuoHZ9rrQYmNF8W4yFksvYgRLxDe0bvGs86WHFqAzryFWjTXSpknW49Tu_QNtaZVG2Tl07nqn_IWUjC5PV_o8eHGcbqEET2GXPRdABqoEpD9uzY3SG_Jjs4UYNs36Ch2CkMDaBkw-elIaPgiLwzSBtBmtgDDVPK3ldk2HLC0DWN4A=w1600-h1600"  class='random' />
    </a>
    </div>

    The only difference is changed option in settings.

    • This reply was modified 5 years, 9 months ago by jurij_c. Reason: markup
    Thread Starter jurij_c

    (@jurij_c)

    1) I’m not using any lightbox from option, because I have already optimized solution for the whole site. No need to rely on inclusion from plugin.
    2) No there are no other plugin interfering.
    3) I did’t get into the code, but it was obvious that when “none” option is selected it generates wrong code for gallery, a hrefs are wrong. When switched to “Magnific”, it worked. So obviously none option is with problem

    4) There is no problem with js, only html code that is outputted is wrong. The value of a href is wrong, img is alright. I turned off js execution, and html output is still wrong.

    I hope you see what I mean.

    Thread Starter jurij_c

    (@jurij_c)

    Thanks!
    Update: I compared files in wordpress repository and link you have send – and they are identical without any fixes

    • This reply was modified 7 years, 2 months ago by jurij_c.
    Thread Starter jurij_c

    (@jurij_c)

    Hello!

    I could not check right now your fix and see what was changed, but what I meant that it’s possible to do like this:

    $order = new WC_Order( $order_id );
    if ( $gtm4wp_is_woocommerce3 ) {
    $this_order_key = $order->get_order_key();
    } else {
    $this_order_key = $order->get_order_key();//was just $order->order_key;
    }

    Greetings!

    Hello Thomas,

    I have commented else branch to get data about category always, also if variation is available, variable $_category_variation is set and then later asigned “variant” => $_category_variation. In Analytics I get data for categories and for variants.

    Yuriy

    Hello Thomas! I have edited the woocommerce integration and it looks like working fine
    line 191
    https://pastebin.com/L0Hq9QeP

    Yuriy

Viewing 7 replies - 16 through 22 (of 22 total)