shopify: what does filter "t" do? - shopify

{{general.newsletter_form.placeholder' | t }}
I find something like this in a shopify's .liquid file, I am trying to find out what t means but can't find any related information from shopify's help center and liquid's github page. Can anyone tell me what it does and more importantly, where I can find the documentation?

That is the front-end translation filter or an attempt to bring i18n to Shop themes. See the documentation here: https://help.shopify.com/themes/development/internationalizing/translation-filter

Related

Update Checkout Layout and JS behavior in Cornerstone (BigCommerce)

When we add the products into Cart and proceed to Checkout page we can apply the coupon like this.
It shows unnecessary error in the console.
I checked the template/pages/checkout.html but it has this code.
{{{ checkout.checkout_content }}}
How can I update the {{{ checkout.checkout_content }}} and where is it?
and I also can't find the proper JS code in assets/js.
What I guess is this HTML section/js code is dynamically loaded from Bigcommerce API but I can't verify it.
How can I solve my issue?
Have you tried running on localhost instead of 127.0.0.1, to see if makes any difference?
This is a good situation to get a HAR file, as that would show your network tab details. If you have one, it may be best (and more secure) to reach out to technical support team to review it with you rather than sharing it in StackOverflow. Also, in regards to your question about { checkout.checkout_content } -to modify this, you will need to take a look at the checkout-js repo as it's not available via the theme.

Trying to find a Shopify Email Variable for Order URL

I find it strange this isn't offered but I'm looking to get the URL to specific orders (store.com/account/orders/customstring) passed through an email template variable.
Consulting the Shopify docs here: https://help.shopify.com/manual/sell-online/notifications/email-variables, I don't see how I can achieve that. Wondering if anyone has any idea on how to do it, if possible?
Something like {{order.url}} or account/orders/{{order.hash}} << (obviously made those up)
Hopped on Shopify support and they confirmed there's no way to do it. Close this question as it's no longer relevant :(

How can share product name and image on whatapps using html?

I'm trying to create script which can share product link and name. I searched about it and found an good answer.
Share via Whatsapp
Above link is just sending product URL to whatapps, but i want to send title as well. Is there possible that i can send product title as well.
I try to more searched about it and finally i got solution for this. I just add php syntax urlencode().
Share via Whatsapp

Changing Search settings in shopify

In my shopify store search algorithm seems to look for whole words only. For example if I have a product "keyboard" in my store, "key" doesn't find it.
Is there any way to change that?
Search is controlled by Shopify. The only thing you can do is inspect the results returned and render the results as you see fit. Another option is to build out your own search functionality and then you can indeed control the algorithm. That requires you to deploy your own high-performance server and to take advantage of an App Proxy from Shopify or to just manually render results as HTML or JSON...
David is right. The search functionality is controlled by Shopify, and unfortunately this functionality doesn't recognise partial strings (see this support thread for a little more info).
My suggestion is either build your own search functionality or make use of a plugin like typeahead.js to help bypass the issue.
The other guys are right - you don't have much control over the search in Shopify. However, the support thread mentioned in luciddarryn's answer talks about the limitations of Shopify's admin search. In your store's product search, you can use Solr syntax for partial words. See here and here for more info. You could also have a look on the Shopify app store for a search app with the functionality you're after.
Add an asterisk to the end of the search term, so instead of key, it would be key*.
The asterisk turns it into a wild-card search.

Multiple comment plugin loading on Blogger

on my blog I’m using from a long time the IntenseDebate pluging as commenting system in place of the default one.
I would replace it with Google+ comment system but I don’t want to lose all comments already left by the users via IntenseDebate, so I would figure out if there’s any way to load on the old posts the IntenseDebate pluging in place of the default Google+.
As possible solution, I’m thinking something like a tag in the html post code that (if defined) load the IntenseDebate pluging.
What do you think?
its not posible to migrate IntenseDebate comment on google plus. Their is one solution that you can use multiple comment system in your blogger blog. just few month ago i had written trick for the same. I hope that this will be useful to you.
http://www.tipsviablogging.com/multiple-comment-system-blogspot/