leahjm77
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] All tabs open by defaultThank you very much for your help Kevin! There is a tabs file in my theme files. Here is the full code:
<?php
/**
* Single Product tabs
*
* This template can be overridden by copying it to yourtheme/woocommerce/single-product/tabs/tabs.php.
*
* HOWEVER, on occasion WooCommerce will need to update template files and you
* (the theme developer) will need to copy the new files to your theme to
* maintain compatibility. We try to do this as little as possible, but it does
* happen. When this occurs the version of the template file will be bumped and
* the readme will list any important changes.
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 2.4.0
*/if ( ! defined( ‘ABSPATH’ ) ) {
exit;
}/**
* Filter tabs and allow third parties to add their own.
*
* Each tab is an array containing title, callback and priority.
* @see woocommerce_default_product_tabs()
*/
$tabs = apply_filters( ‘woocommerce_product_tabs’, array() );
$single_type = qode_woocommerce_single_type();
$tabs_position_class = ‘left’;
if($single_type == ‘tabs-on-bottom’){
$tabs_position_class = ‘center’;
}if ( ! empty( $tabs ) ) : ?>
<?php if($single_type != ”) { ?>
<div class=”q_tabs horizontal <?php echo esc_attr($tabs_position_class);?>”>
<ul class=”tabs-nav”>
<?php foreach ( $tabs as $key => $tab ) : ?>
<li class=”<?php echo esc_attr( $key ); ?>_tab”>
“><?php echo apply_filters( ‘woocommerce_product_’ . $key . ‘_tab_title’, esc_html( $tab[‘title’] ), $key ); ?><?php endforeach; ?>
<div class=”tabs-container”>
<?php foreach ( $tabs as $key => $tab ) : ?>
<div class=”tab-content” id=”tab-<?php echo esc_attr( $key ); ?>”>
<?php call_user_func( $tab[‘callback’], $key, $tab ); ?>
</div>
<?php endforeach; ?>
</div>
</div>
<?php } else { ?><div class=”q_accordion_holder toggle boxed woocommerce-accordion”>
<?php foreach ( $tabs as $key => $tab ) : ?><h6 class=”title-holder clearfix <?php echo esc_attr($key) ?>_tab”>
<span class=”tab-title”><?php echo apply_filters( ‘woocommerce_product_’ . $key . ‘_tab_title’, esc_html( $tab[‘title’] ), $key ); ?></span>
</h6>
<div class=”accordion_content”>
<div class=”accordion_content_inner”>
<?php call_user_func( $tab[‘callback’], $key, $tab ) ?>
</div>
</div><?php endforeach; ?>
</div><?php } ?>
<?php endif; ?>
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] All tabs open by defaultThank you for your reply! I believe my theme is changing the tab template but I’m not sure. I should be able to find and edit the file in either case. Do you know of the code change for that or a link to a resource that explains how to do it?
Forum: Plugins
In reply to: [Multi-Step Checkout for WooCommerce] Checkout steps duplicating in processThank you for your help. I removed that first set of CSS code and that got rid of the duplicate issue – the other css was when I had a one-page checkout and doesn’t seem to be affecting it now. The first set of CSS was provided by you previously when I asked if it’s possible to show the “order summary” section on both tabs on the right side of the page. Do you know if that is possible, but to have just the billing/shipping on the left of the first page, and payment details on the left of the second page beside the order summary?
Forum: Plugins
In reply to: [Multi-Step Checkout for WooCommerce] Checkout steps duplicating in processHi, further to my earlier message, I did some more testing. I went back to the basic version of the plugin but when I went to the most up-to-date version I got the same errors. So I went back to a recent older version of the plugin and it’s not showing the order summary and payment details twice anymore. So it seems it’s only happening with the latest versions of the plugin. But I was still getting the issue with the new version of the Pro version that I purchased. Is it possible to be refunded for that? I will just stay with the older version that was working okay. The only thing I was wondering is if it’s possible to show the order summary on the right side of the screen in both the billing/shipping page and the payment page? Thanks again.
No feedback on this yet? I have been having the same issue. Wasn’t happening before the latest updates, but just noticed it this past week as well. Any help would be appreciated.
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] 1st Custom Tab Text DisappearedThat’s exactly what I needed – thank you!
I saw this thread in your support that said it was doing the same thing as I have happening and you provided a solution (https://www.ads-software.com/support/topic/currency-conversion-is-wrong-in-cart-page/), but you’re saying it’s not the same issue I’m having? I tried adding the code from that thread (with changing the currency to USD in the code) but it didn’t do anything. So it’s an issue with your plugin not being compatible with WooCommerce Discount Rules and I need to use a different discount plugin? I contacted them as well and they say it is compatible. Or is it an issue with my theme? I just wanted to check again before I change discount or currency plugins. Thank you.
Forum: Plugins
In reply to: [WooCommerce Extended Coupon Features FREE] Discount applied messageThank you for your reply! You can see a screenshot at – https://jrmhockeyart.com/wp-content/uploads/screenshot-rev.jpg
Basically I realized people aren’t scrolling down to see the Cart Totals on mobile, they just see that the price doesn’t change in the chart at the top. So in the ‘discount applied’ message that appears at the top I want to tell them to scroll to the Cart Totals area to see the discount. But then that same message appears within the Cart Totals and doesn’t make sense there. So I’m wondering if under the Cart Totals it can just show the discounted amount (-$49.50 like in this example) but not show the ‘discount applied’ message beside it, just at the top of the cart. I thought I could hide the one under ‘cart totals’ using css but couldn’t get it to work. Thank you.
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] 1st Custom Tab Text DisappearedThanks for your help Kevin! Just so I understand correctly, now that I have changed my products to be variable products, I either have to have the ‘additional information’ tab or ‘description’ tab showing first, and then the rest of the custom tabs will be next. I can’t have the customs tab show first without either of those other default tabs?
I figured out it’s applying the currency conversion again to the DISCOUNTED price in the cart even though it already did it on the product page.
Further to my last question I found a more pressing issue that I need to fix asap. I tested your plugin with the WooCommerce Discount Rules plugin (they say it’s compatible with yours) and realized the currency is showing correct on the Product page but then changes on the Cart page. If you go to a product page such as https://jrmhockeyart.com/paintings/marc-andre-fleury/ and choose the size option “Canvas Wrap 24×24” it shows the regular price and discount of 25% off. The price is correct on this page for both CAD (which is the store default) and USD. But when I set it to USD and then add it to the cart, the discounted price is incorrect on the cart. With the ‘Canvas wrap 24×24’ size option I mentioned, it shows the full price as $189.21 and with discount is $141.91 on the product page (which is correct). But on the Cart it changes the discounted price to $107.40 which is close to another 25% off but off by about a $1. So it seems to be adding another discount when the currency is set to USD. I saw this thread with a similar issue (https://www.ads-software.com/support/topic/currency-conversion-is-wrong-in-cart-page/) but when I tried the code (with changing the currency to USD in the code) it didn’t do anything. Please help! I have all cache plugins turned off and tried disabling anything else that I thought might be in conflict and it’s not that.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Show Latest Review at Topsorry please disregard, I found how
Forum: Plugins
In reply to: [Multi-Step Checkout for WooCommerce] Order & Payment side by sideHi Diana, I worked out the issue with the form fields, they are now filling the space. I combined the first 2 steps and the last 2 steps to only have 2 steps in total. But I am wondering if it’s possible to show the two items side by side? For example, the order details beside the payment info. Right now they are stacked one on top of the other. I saw another person asked about this (https://www.ads-software.com/support/topic/order-and-payment-to-appear-as-2-columns-side-by-side/) and you mentioned you would fix it for them but that was the end of the post. If this is possible please let me know. I am familiar with adding code to functions.php and other files if that helps, I would just need to know exactly what to add/edit. Thank you.
Thank you very much for your help – that helped a lot! I have one other question, I hope it’s okay to post here. I followed your instruction in the article “How to insert currency switcher into single product page” but it didn’t work for me. I have it working using the shortcode in each product page, but I was hoping to move it directly below the price or beside the price. Is it possible to put it to the right of the price on each product page? Thank you!
Forum: Plugins
In reply to: [Custom Product Tabs for WooCommerce] 1st Custom Tab Text DisappearedHi, I am experiencing the same thing but I narrowed down the issue in my case. It seems it’s happening for me on all variable products. You can see a test of a product with variations at https://jrmhockeyart.com/paintings/dryden-test-2/. The info under “details” tab doesn’t show unless you click on it first. I tried typing some info in the product’s default “Description” box for another variable product and the description tab text shows immediately without having to click on it – https://jrmhockeyart.com/paintings/ken-dryden-2/. So it seems it’s an issue with this plugin with the first tab not showing its contents unless clicked on for products with variables. My other products that don’t have variables (set to simple product) it works fine (https://jrmhockeyart.com/paintings/marc-andre-fleury/). Problem is I am changing all my products to variable products so I’m hoping there’s a workaround for this as I would much rather use your tabs than the default description tab with woocommerce. Thank you.