Add two dynamic checkout buttons on product page in Shopify? - shopify

I am new to Shopify and need to add two dynamic checkout buttons on product page.
That is, add one dynamic checkout button just above product description section and another dynamic checkout button just below product description section.
Is it possible to do this?
If so, how to add this?
I tried to add dynamic checkout button using the following code snippet:
{{ form | payment_button }}
So I added this code snippet inside "Add To Cart" form section and duplicated this form just below of product description section.
It worked like a charm for first section (above product description), but it didn't create buttons for second section (below product description).
I am not sure how to implement this feature.
Any advice would be much appreciated.

Related

How to add custom textbox field on shopify product page

I need to add custom textbox field on shopify product pages.
My requirement is to add textbox field on product page and when customer add product in cart than that textbox field value also display on cart page and also on checkout page.
I also need to reflect that textbox field value on admin custom order page.
Is this possible?
For adding custom textbox field on shopify product page please follow below step :
Login to your shopify admin and ope product detail page template code
Copy and paste the code below into your product detail page template file between the and tags. The form textbox field will appear wherever you place the code.
<p class="line-item-property__field"> <label for="custom-field">Your custom field</label> <input id="custom-field" type="text" name="properties[Your custom field]"> </p>
Save file.
After adding above code custom textbox field will be appear on your product detail page.
You can also use this link as reference for adding different type of custom field on product detail page : Shopify line item properties
a much more easier way is to use the following Shopify App:
https://apps.shopify.com/Textfield
It let‘s you create easy and fast different kind of text fields.

adding custom tag to order in shopify based on a checkbox in product

I made an html checkbox in my product template, now i need to add it to order whether it's checked or not(sorry i don't know liquid and search a-lot about it)
any help will be great.
Is the checkbox related to the product itself? If so then the line item properties would be the best option. There is a great walkthrough on the Shopify Forums for this.
This property will then show up along with the product in the Order page of the Admin.

How to add sub menu in front page for the product category in prestashop 1.6

I want to add sub menu for my category menu for my main menu displayed in the front landing page as shown here
This is my category
When I hover the Category Ticket I must be able to see three submenus
1)Buy ticket (link to the product page which will be always dynamic page)
2)See winners ( a cms page )
3)Check offers ( a cms page)
Category are displayed by adding category
Is there any option to do submenu for category from the prestashop 1.6 back end
You should install blocktopmenu module. Already contained in Prestashop official installation. This module allows you to create submenus. All you'll have to do is to style it with css.
Becouse I cant comment below Florian Lemaitre post I write here, module bloctopmenu didn't have options to create submenu, it is create automaticaly submenu only for category who contains subcategories. If somebody need create some custom submenus containing for example cms page or add home icon he must use third party module.

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

How to add custom form before "add to cart" page

I am using Magento 1.7. I need to get input from user so how to add custom form for taking input from user.
Let me explain: when click on any product it display product information. Now there should be a button.On click that button it should show custom form. After submit that form it should redirect to "add to cart" page with all the details of that product and values of custom form fields which is filled by user.
Is there any extension or any other way to do this?
On zennioptical.com the "ORDER" button is located on the product listing template
magento template : /app/design/frontend/base/default/template/catalog/product/list.phtml
The prescription form is actually shown on the product detail page
magento template : /app/design/frontend/base/default/template/catalog/product/view.phtml
To accomplish this in magento create a simple product the add custom option for ('Prescription Type' etc) then you will need to do some custom css and javascript to accomplish that layout