I am using woocommerce for a wordpress theme, i can figure everything out except one thing
how do i add this button (manual on the website)
http://www.fashiolista.com/content/fashiolista-button/
to a product-page in woocommerce (next to add-to-cart button) ?
You need to edit share.php in the templete of your theme. If your theme doesn't have it then you will have to create it and you can add the custom buttons there.
Related
I'm trying to use this plugin to add product highlights in the shop category loop in WooCommerce.
While the plugin works nicely with Astra and Storefront (highlights shown above "add to cart" button), the highlights are shown post "add to cart" for the site using UXThemes Flatsome theme.
Because the plugin works nicely in Astra and Storefront, I gather Flatsome somehow alters the loop / hooking for products shown in the shop / archive page.
My question: How do I go about debugging and figuring out exactly where Flatsome drops the ball? I really need the highlihts to be shown before the add-to-cart button. You can see a staging / testpage here:
Right now I'm sifting through the theme layout and loop php files, and not getting any wiser.
Thanks in advance for any help
I'm creating a custom theme for a woo commerce website. Everything is good except that with my theme when I click on "checkout" in the cart it redirect me on my main page but with the URL of checkout.
If I active a simple theme as twentynineteen then i have my checkout page.
I tried to copy the checkout folder of woocommerce but it does not change anything.
What I don't get is that I don't override anything about this checkout page, so it should inherit from woocommerce and show it.
Here is my theme code: https://bitbucket.org/romain_o/wp-theme-flopo/src/master/
Thanks for your help
I don't see page.php template in given theme source code.Can you please create page.php template & make sure to put the_content(); in it. even if i create other pages they are not coming & redirecting to home page.
I would like to add Terms and conditions link to my woocommerce checkout page.
I have set: WooCommerce -> Settings -> Advanced -> Page settings -> Terms
I have set: Appearance -> Customize -> WooCommerce -> Checkout
I am using Flatsome theme. I've tried to disable every plugin that affect checkout but still, nothing.
It still showing plain text "I accept Terms and Conditions".
I tried "live preview" on another template but the same effect. Any ideas?
Go to your WordPress admin dashboard and then go to Pages > Add new.
Add Your Title as Terms and Condition
Add content
Review the content and save it or you can publish it if everything okay.
Now you need to set your Terms and condition page in WooCommerce. Go to Appearance > Customize
From the customize page dashboard select WooCommerce > Checkout
From checkout click on the terms and condition tab. A drop-down menu will appear and you can see your created terms and condition page there. Select the page and save the settings.
You can follow this tutorial for better understanding
I am trying to add a custom button “Buy On Ebay” displayed below the “BUY” now button on WooCommerce this should be included for every product loop linked to a custom field vendor_url in the back end so that I can specify each product with its own external link.
What I have tried so far.
1st effort
Installed advanced custom field plugin but I'm not sure how to hook
the URL variable attributes to a button for each looping product.
50% Complete solution and would rather use the plugin below as vendor_url is the only custom variable needed.
2nd effort
Installed https://github.com/Ohar/wc-field-vendor-url
This Plugin just adds custom field “vendor_url” to WooCommerce products. Which is exactly what I need however I don't know how to PHP include this variable attribute within a button.
Simplified
Front End:
‘Buy on Ebay’ button next to “Buy” button on Woocommerce.
Backend: vendor_url = 'Ebay Product URL'
Any help would be appreciated.
If you want to use advanced custom field plugin, use the plugin and create the field for the vendor_url in every product back end. Please check the documentation of the advanced custom field plugin for creating the new field.
The next step, to display the 'Buy on Ebay' button in product page front end, open the woocommerce folder ->templates ->single-product->add-to-cart.
In add-to-cart folder you can see different templates for product type. If your product type is simple, open the simple.php and you can see the add to cart button code. Below this code you can create your 'Buy on Ebay' button.
<button type="submit" class="button alt">
<?php the_field('vendor_url'); ?></button>
Note: use the key which used to create field for vendor_url.
I have a website in made with Wordpress 4.1.15 and I'm using the WooCommerce as a virtual store.
One of my admins deleted the Checkout and Shop pages, then I had to recover them from the trash but after that, the WooCommerce Sidebar disappear and now is disabled in the widgets area.
How can I force and enable again the sidebar?
Thansk
Go to Shop edit page ant look at template. Select sidebar template if there is one. If there is no template with sidebar you have to create one.