Caleb OLoan
Forum Replies Created
-
Forum: Plugins
In reply to: [Sermon Manager] Rest APIHi David,
Thanks for that. I am not writing any code but was creating a basic app using the app template Universal – Full Multi-Purpose Android App.
It had sections where you paste in rest APIs.
I don’t think it seems to work with all custom post types now.
But as you mention that rest API seems to work for others which is worth knowing.Thanks again
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Move Buy With Apple Pay ButtonThank you very much, that’s great!
- This reply was modified 5 years, 5 months ago by Caleb OLoan.
That’s very helpful. Do you know how you would modify, or add code so that also when you click a parent the sub-menu opens out. At the moment on Easy Sidebar Menu you click the parent and the sub menu is still hidden.
Thanks
Forum: Plugins
In reply to: [WooCommerce] Woocommerce – Order Time in Notification EmailsI found this solution. Add this to your functions.php
// add time and date to email
add_action( ‘woocommerce_email_before_order_table’, ‘add_content’, 20 );
function add_content() {
echo ‘<h2 id=”h2thanks”>Order Time & Date</h2>’;
date_default_timezone_set(‘Europe/London’);
echo date(‘d/m/y h:i a’, time());
echo ‘<div style=”height:20px;”></div>’;
}Adding the following bit of css fixed this for me
#customer_details .form-row.create-account { clear: both !important; }
This brings the “create an account” below the extra input I added.
Need the gap after “_details”.Forum: Plugins
In reply to: [WooCommerce] Woocommerce – shortcodes for prices with product variationsHi Josh
Afraid I abandoned this approach as the products had so many variations (at least 20 per product) that it was a lot easier to just copy and paste a table from excel.
Hope you get some help
Caleb
Forum: Fixing WordPress
In reply to: Woocommerce lightbox stopped workingForum: Fixing WordPress
In reply to: Woocommerce lightbox stopped workingIf anyone is interested I have found a way to get lightbox to appear on Woocommerce – though making use of another plugin.
1] Install WP jQuery Lightbox 1.3.4.2
2] Go to the file woocommerce/templates/single-product/product-image.php and change rel=”thumbnails” to rel=”lightbox”Lightbox plus then gives you loads of options for styling
Notes
1] If you want to do the editing from the WordPress admin side the file won’t appear at first. So first click on woocommerce/templates/single-product.php then the relevant one will be on the page.
2] This lightbox magnifies the image to its full size, that’s fine for me, but you might want a lightbox that has a max size. Hopefully another plugin would do the trick.
Thanks Christine,
Had same problem but worked for me to. Wasn’t till I had done all three that it worked (wp-includes folder and wp-admin folders not enough)Forum: Plugins
In reply to: [WooCommerce] Woocommerce – shortcodes for prices with product variationsThanks again for getting back. I have used variable products. I was just wondering about making updating prices as easy as possible. Will definitely look at shortcodes/shortcode-init.php and possibly smart manager pro to see if I can make a winning combination. Too busy with other projects at the moment though.
Thanks for your help
Caleb
Forum: Plugins
In reply to: [WooCommerce] Woocommerce – shortcodes for prices with product variationsThanks for getting back
Thanks for the info on where to look for customized shortcode
Will have a look at this properly next weekWhy just prices-
I am creating an ecommerce site for a fencing company
They have many tables of prices e.g. (very simple example)Size Straight topped Arched
6ft 2 £12 £14
6ft 3 £13 £15Then customers select what want from drop down
I was thinking that if the prices were coded and I got smart manager pro then the fencing company would only have to change prices in the spreadsheet style interface provided by smart manager pro rather than also have to log in to each product and change tables. I think a lot of people may benefit from such a combination.