Jump to content
thirty bees forum

Adik

Trusted Members
  • Posts

    115
  • Joined

  • Last visited

  • Days Won

    7

Adik last won the day on January 29

Adik had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Adik's Achievements

Contributor

Contributor (5/14)

  • Conversation Starter
  • Dedicated Rare
  • Reacting Well Rare
  • First Post
  • Collaborator Rare

Recent Badges

30

Reputation

  1. Berikut ini merupakan nomor Whatsapp layanan GoPay customer +62853-5588-4470 konfirmasi kendala kamu disini.
  2. Ya, GoPay mempunyai layanan bantuan di Nomor +62853-5588-4470 untuk bantuan 24/7.
  3. Nomor layanan GoPay dapat kamu hubungi di nomor +62853-5588-4470 konfirmasi kendala kamu disini
  4. Berikut ini merupakan nomor telepon layanan GoPay customer +62853-5588-4470.
  5. Ya, untuk nomor layanan GoPay customer adalah +62853-5588-4470 konfirmasi kendala kamu disini.
  6. Nomor GoPay Customer dapat kamu hubungi di nomor +62853-5588-4470 untuk bantuan 24 Jam.
  7. Ya, GoPay memiliki layanan WhatsApp di Nomor +62853-5588-4470 untuk bantuan 24 Jam konfirmasi kendala kamu disini.
  8. Hello Peter, Is there an official fix for P24 or recommended snippet for TB to treat that state as pending and finalize the order via webhooks (payment_intent.processing/succeeded or charge.succeeded)? Also, do you suggest restoring the cart from metadata.cart_id on validation if the session is lost? I can share logs from /log/stripe_<date>.log if helpful.
  9. Hi, you can parse a comma string into multiple tags. As a result, you will get a format compatible with Google Merchant Center. 🙂 Here is my solution for <g:additional_image_link> <?php $xml = simplexml_load_file('https://my-store.com/endpoint/google-merchant-center-products-only', null, LIBXML_NOCDATA); $rss = new SimpleXMLElement('<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:g="http://base.google.com/ns/1.0"><channel></channel></rss>'); $rss->channel->addChild('title', 'Google Merchant Feed'); $rss->channel->addChild('link', 'https://my-store.com'); $rss->channel->addChild('description', 'GMC-only-products'); foreach ($xml->entry as $entry) { $item = $rss->channel->addChild('item'); $gChildren = $entry->children('http://base.google.com/ns/1.0'); $mainImage = (string)$gChildren->image_link; foreach ($gChildren as $child) { $name = $child->getName(); if ($name === 'additional_image_link') { $urls = explode(',', (string)$child); $count = 0; foreach ($urls as $url) { $url = trim($url); // Skip same main image if (!empty($url) && $url !== $mainImage) { $item->addChild("g:additional_image_link", $url, 'http://base.google.com/ns/1.0'); $count++; } if ($count >= 10) break; } } else { $item->addChild("g:$name", (string)$child, 'http://base.google.com/ns/1.0'); } } } Header('Content-type: text/xml'); echo $rss->asXML(); Save as my-feed-converter.php and add new file to GMC. GMC will start processing additional product images after a few minutes. 🙂
  10. Hello, I'm looking for module which allow to create an attribute that will include several products from the e-store catalog. For example: I offer a PC. Customer can purchase an operating system (Windows Pro, IoT) directly on the product page, instead of searching for it in a catalog.
  11. ITX-Sklep.pl - fanless industrial computers, Delock partner in Poland https://itx-sklep.pl Since v1.0.8 loyal to TB ☺️
  12. copy file cookieconsent.min.js locally and add to header.tpl <script src="/modules/eucookieconsent/views/js/cookieconsent.min.js" defer></script>
  13. The quickest way is to check where is "fonts.gstatic.com" / "cdnjs.cloudflare.com" saved. Install Visual Studio Code and connect with your VPS using ssh. Now you can search thousands of files in few seconds using the options Find in Folder. You can also add: Smarty Template Support, The Pattern Language (TPL) and tpl Lang addons.
  14. I added code after enableLinkTracking : {if isset($PIWIK_RCOOKIE_TIMEOUT)} _paq.push(['setReferralCookieTimeout', '{$PIWIK_RCOOKIE_TIMEOUT|escape:'javascript'}']); {/if} _paq.push(['enableLinkTracking']); _paq.push(['disableAlwaysUseSendBeacon']);
  15. Important msg for Matomo users While browsing Google Search Console today, I discovered that GoogleBot was only loading small section of my product pages. Error from GSC: "Page resources. Failed to load 1/57 of resources" GoogleBot was blocking by matomo.js file. The solution is simple, add following line to script: _paq.push(['disableAlwaysUseSendBeacon']); Example of full code with added line: <script> var _paq = window._paq = window._paq || []; /* tracker methods like "setCustomDimension" should be called before "trackPageView" */ _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); _paq.push(['disableAlwaysUseSendBeacon']); (function() { var u="https://store-domain.com/"; _paq.push(['setTrackerUrl', u+'matomo.php']); _paq.push(['setSiteId', '2']); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); })(); </script> If you are using Matomo Web Analytics module add code to file: /modules/piwikanalyticsjs/views/templates/hook/jstracking.tpl (line 27) I discovered this when I saw that the number of reviews visible in a Google search had started to fall rapidly.
×
×
  • Create New...