Liquid、JavaScript、主题、销售渠道。
要加JavaScript,如:
<input type="radio" name="options" id="desktop" autocomplete="off" checked="checked" value="1" onclick="show();"> No text
<input type="radio" name="options" id="mobile" autocomplete="off" value="2" onclick="show();"> Add text
function show(){
document.getElementById('text-field-1').style.display ='block';
document.getElementById('text-field-2').style.display = 'block';
}
function hide(){
document.getElementById('text-field-1').style.display = 'none';
document.getElementById('text-field-2').style.display ='none';
}
Thanks for your reply, I chose the theme motion because it is the most similar to our design, but it has a situation similar to route lazy loading when making route jumps (that is, there is a moment of white screen should be waiting for loading time).
If you want to see the effect you can try to switch between pages with a click here.
https://themes.shopify.com/themes/motion/styles/classic/preview?surface_detail=motion&surface_inter_... position=1&surface_type=search
It’s normal that a white screen will appear for a short time when switching pages, and it’s the same in my store, so don’t worry.
I want to know how you did this screening? Looking forward to your reply.
Thank you very much for your reply, I think this should be amendable, after all the white wait may not be user friendly. Of course this is just my personal opinion, and the official reply also tells me that I can help us with this issue through Motion, a third party theme provider, if they can.
Screening? The choice of theme may not be something I need to consider, I'm doing secondary development based on this, so I may not be able to answer your question well, and I may have some development issues to discuss with you later.
Translated with www.DeepL.com/Translator (free version).
I recently have a requirement for secondary development of the screening area. I would like to ask you about the specific considerations. Please reply to me if it is convenient.
Thank you very much
在这个竞争激烈的数字化时代,公司需要有效的策略来宣传自己的品牌并吸引客户。其中,博客就是一个强有力的工具。一个精心策划的博客不仅可以帮您在网络上树立形象,还能让您与目标受众进...
By OwenX7 Mar 26, 2024支付网关是一种机制,用于在客户和商家之间传输交易信息。支付网关使信用卡和数字支付处理成为可能。在线支付网关是基于云的软件,而面对面零售网关通常包含在 POS 系统中。您需...
By Vikki Mar 24, 2024Shopify 积极为全球最富创新力的品牌和创业家提供支持。为了帮助个人和各种规模的企业实现增长,Shopify Academy(仅提供英文版)将在 2024 年推出全新的英...
By SarahF_Shopify Mar 24, 2024