Hello, can somebody help me making a checkbox to be mandatory in my shopify checkout page? I have dawn them - shopify

I have to make a required / mandatory checkbox so when my clients go to the cart page they have to agree with my terms and conditions before proceeding to the checkout page
I was able to put the checkbox right next to the "checkout" button but I cannot make it required

You will have to have shopify-plus package in order to make changes inside checkout page, so when you will have shopify-plus admin access, just go to storefront code editor(shopify's code editor), open "checkout.liquid" named layout and use jQuery to make condition that if($('input[name=thename]:checked')) { $('#id').show(); // show proceeding to the checkout HTML }

Related

Make The Different Register Page Url Stable and Get Rid of Double Click Logout On Woocommerce

I am using one of the woodmart built-in themes and have 2 issues (I think they are so easy to do but couldn’t find any solution on internet which works well) one is about register page link on the sidebar login are and the logout confirmation.
When you go to our website which is http://www.fitovision.com and click on Login/Register button on the right top of the page a sidebar widget comes out. I have changed the Create An Account link to my custom page but because I did this on the integration page of woocommerce to the theme, when I get any update it goes back. So looking for a hook or function codes to add to the child theme functions page to keep it there forever even if I get any update. Could you please tell me how to do that? I have asked this to the theme editors support page but they said it belongs to woocommerce so asked me to open a ticket here.
Second one is when you login to the page we have an dropdown menu on the top on the place of Login/Register link. And there is Log Out link on the at dropdown menu. When I click it it goes to My Account page and when I click there again it logs out. I have read and applied too many ways to bypass the logout confirmation on first click but none of them worked as I realised that they were all old dated posts. So I thought after some time and your updates it should be forced by the wocoommerce to do it. But my clients definitely do not want it. Is there again anything else I can do for that to log out on the first click? And keep it there with adding to the child theme functions page?
Thank you for replies instead.
Emre GOKTEPE

Shopify Liquid: Adding Sections to the Login Template

I have a client request to add manageable content to the login page. I assume this would work like managing any other page, simply create a section with the necessary schema and markup, then include that section ({% section 'section_name' %}) in the customers/login.liquid theme template. Problem is I don't see an option to select the login page in the page selection drop-down when customizing the theme. How do I allow my client to customize the login page via sections?
Thanks!
The actual login template cannot have manageable sections.
The closest workaround is to create a custom page template that includes a login form. The page can include manageable sections that are accessible when customizing the theme. The only issue is that all the automatically generated login url links will not go to this page, so any instances of those links need to be adjusted in the theme.
You can manually tell the customizer where to go by adding a hash(#) at the end of the url, followed by the shopify site path you want to visit/edit.
https://<domain>.myshopify.com/admin/themes/<theme-id>/editor#/account/login
Once you enter this in the browser url bar, you'll need to hit enter twice to get the page to reload properly.
If you do this and find it keeps sending you back to the homepage, it means that accounts are disabled on the Shopify store. You can change this by going to:
Shopify Admin > Settings > Checkout > Customer accounts
Then selecting either: Accounts are optional // Account are required

Checkout Page Stencil Bigcommerce

We use Bigcommerce Stencil theme for our store, but we have some issue with a checkout page. We don't need have Shipping Details before Shipping Method because we have only Click&Collect option, without shipping. How can we change an order of questions in a checkout page and put Shipping Method before Shipping Details or maybe just hide it, as you pick Click&Collect option? Is it possible to change checkout.php or maybe add some JavaScript code for this? Thank you.
You should be able to modify what is happening on the checkout page by making your changes to checkout_express.html.
In Stencil, I found that the checkout_express.html file may not be available in the Stencil Theme Editor (Storefront Design -> My Themes, click on the "Customize" button on your current theme). If this is the case, you may need to go and change the setting for your checkout to allow for modification. Go to Advanced Settings -> Checkout and select "Custom One Page Checkout (for developers)" and Save your changes. This will set you up to be able to edit checkout_express.html.
Next, go to Storefront Design -> Design Options, and select the "More" navigation item. You should now have the option "Template Files". Selecting this option will give you a list of files for the current template; checkout_express.html should be among them. Find the file, and click on the ellipsis (...) on the right side of the screen for the file and select "Edit". That should open a new window with an in-browser editor that will allow you to make adjustments to the checkout page layout as you see fit.

Make user stay on product view after clicking on "Add to Cart"

I'm using Hotcakes Commerce DNN modules and I'd like to know how I can allow the user to stay on the product page after the "Add to Cart" button is clicked. The default behaviour is to redirect the user to the cart page whenever the a product is added to the cart.
The easiest way to make this happen is to modify your viewset to change how the add to cart buttons work. Here's a summary of the required steps:
Add and begin modifying your viewset if you haven't started already.
Modify your \VIEWSETNAME\Views\Products_ProductDetails.cshtml file to change the add to cart action from a post, to an AJAX link. This will allow you to add products to cart directly using a link, but keep you on the page.
If you're using the Mini Cart, refresh the page using JS so that it updates appropriately.
Please note that this option won't work well if your products have choices. If this is the case, you should instead allow your customers to be directed to the cart page, and use a parameter there to determine whether or not you redirect back to the product page.

How to implement "Add To Cart" button in bigcommerce

i am setting up my store on bigcommerce, i want to implement add to cart button on my custom home page can anyone tell me how can i add "Add to cart button" on three blocks below slider(In celebrate, bags, weddings section)? This is my store link http://eveningbags1.mybigcommerce.com/
Usually the best way to make an add to cart button on other pages or from other websites is to take the link the Bigcommerce uses for Category/Brand/Search pages. Works like this
site.com/cart.php?action=add&product_id={product_id}
To add a specific option/sku/variation to the cart, use this format
site.com/cart.php?action=add&sku={sku}
Thanks to #Alyss for the sku info