Brad Griffin
Forum Replies Created
-
Forum: Plugins
In reply to: [Woo Total Sales] Storefront Theme CompatibilityOk, Thanks for the reply. I’ve put the
price
back on the /shop/ page here: https://emojithreads.com/shop/
And while the /product-category/ page for /emoji-shirts/ was using shortcodes to display products, that might be the reason that the total sales were not showing on that archives page.
So let’s look at another /product-category/ page that is simply default and is not using shortcodes to create the page: https://emojithreads.com/product-category/emoji-coffee-mugs/ When we look at that /product-category/ archive page we see the total sales are still not being displayed on the Storefront Theme.
Then on a /single-product/ template page, we see the sold number of items not appearing as well: https://emojithreads.com/shop/emoji-shirt/poop-emoji-shirt/
Any thoughts as to why? Thanks!
First: Your site is *NOT* showing that you’re using the Official WooCommerce PayPal Express Plugin. @spraveenitpro should probably note that before anything else ??
2nd: @ooluwole Your using Chris’s Plugin so it’d probably be best to run over to that plugin FIRST, then post your concern. For simplicity, this whole sentence is a direct link to the *CORRECT* plugin’s support.
C.) You’re using a child theme from DiviCake. So, once you’ve established which PayPal you’re actually going to use, it’d probably be best to open a support thread which accurately notes and mentions the actual correct theme that you’re using as well.
Fourth: You’re also using Diego’s currency switcher. That would be a *SUBSTANTIAL* detail that you might want to mention when getting support as well. (….just sayin’)
e: You’ve got an SSL error on Christine’s site. Not sure why the logo is coming from https://christinescreatives.parili.com/wp-content/uploads/2018/01/CC-logo-min.png But that URLs SSL cert is either expired or not configured correctly
6th: Here is line 63 (of the correct plugin):
if ( wc_gateway_ppec()->checkout->is_started_from_checkout_page() ) {
Yet, here’s a product page on Christine’s site: https://christinescreatives.com/product/red-pink-white-flower-box/
And, as you’ll notice, there is NOT a PayPal Express Checkout button on the product page itself.Seventh: Let’s stop with attempting to help for a now, and just point out that the site you’re actually needing help with does not have
www
in front of it, and it is secured via an SSL – so the correct site is actually https://christinescreatives.comH.) Best of luck to both you & Christine. Here’s the direct links to the rest of the files:
Line 704:
Look right above line 704 and you’ll see this:public function is_started_from_checkout_page() {
(again, let’s first try putting a PayPal Express Checkout Button on the actual product page itself) ??if ( wc_gateway_ppec()->checkout->is_started_from_checkout_page() ) {
parent::__construct();
$load_gateway = is_string( $gateway ) ? new $gateway() : $gateway;
Forum: Themes and Templates
In reply to: [Storefront] Remove sidebar on single product pages@admsimple if I look at this URL: https://simpleclothing.es/producto/black-camouflage-t-shirt/ I’m seeing that it’s showing no sidebar. Did you get this figured out?
If not, @jameskoster has addressed this topic here: https://www.ads-software.com/support/topic/remove-sidebar-from-all-woocommerce-pages-1/#post-7623814
Now, since you’ve mentioned specifically the
single-product.php
page, then you’ll want to add the WooCommerce conditional tag ofis_product
to the code mentioned in the other thread. The result would be:add_action( 'init', 'jk_remove_sidebar' ); function jk_remove_sidebar() { if ( is_product() ) { remove_action( 'storefront_sidebar', 'storefront_get_sidebar', 10 ); } }
Please post back if that worked as resolved (or blows up the innerwebs) ??
https://docs.woocommerce.com/document/customizing-responsive-theme-best-practices/
So, @sjbaily, you’re question is actually primarily a CSS question (and just-so-happens to be on a Storefront Child theme) ?? But lemme see if I can help….
Depending on what/which customization you’ve done, you’ll want to do a few media queries and add your custom image dimensions to each of these:
@media only screen and (max-width: 1000px) { /* Styles placed here will only apply to screens less than 1000 pixels wide */ } @media only screen and (max-width: 768px) { /* Styles placed here will only apply to screens less than 768 pixels wide */ } @media only screen and (min-width: 768px) { /* Styles placed here will only apply to screens more than 768 pixels wide */ }
Right up there where the
*/
comments are is where you’ll want to add your tweaks to your header’s logo.I hope that helps
Forum: Themes and Templates
In reply to: [Storefront] Storefront 2.2 homepage hero@earl_d You might be better off w/ the Storefront Parallax Hero plugin ?? The possibilities to customize it become endless and become endless on any page, anywhere ??
But to address your original post and to somewhat rephrase what @logologics is saying:
When you open your
homepage
, anything that you put in the content box will show up. Like this:
Now, if you put “too much” content on your homepage, in the content area, it’ll actually start spilling over and look really wonky.
I’ll admit (from experience) that it does get a bit confusing when using both the Power Pack and the Homepage control at the same time ??
I would encourage you to explore the option of completely disabling and removing the Homepage Control Plugin altogether. You can then completely & totally create whatever homepage you’d like that’s 100% all yours using WooCommerce Shortcodes. Docs are located here: https://docs.woocommerce.com/document/woocommerce-shortcodes/
Plus, if you’ll kill off the Homepage Control Plugin AND snag a copy of the Storefront Parallax Hero plugin, then you can really juice up your homepage.
The main
issue
with the New Storefront + Homepage Control option is exactly what you’re going through. It sometimes becomes a bit difficult to simply make the homepage that you actually want. So, perhaps getting rid of the Homepage Control and replacing it with any of the WooCommerce Shortcodes will be both less confusing & empower you with even greater control.I don’t usually like the words “Trust Me”, but…… ??
Forum: Plugins
In reply to: [WooCommerce] woocommerce storefront problemHomepage Control ??
Nope. ??
This plugin’s design and intention has one goal and one goal only. It’s to make an individualized and specific
call-to-action
for each and every product so that every item a customer looks at has a tailored button text for the particular and specific product that they are currently viewing.Forum: Plugins
In reply to: [Custom WooCommerce Add to Cart] This is awesome!So far, it’s still rockin’!
…..one of these days, I should probably update the
version compatibility
?? ~HA!Forum: Plugins
In reply to: [Custom WooCommerce Add to Cart] Can’t find settingsNope. Sorry. Just the text ??
Forum: Plugins
In reply to: [WooCommerce] On 3.0, the Order detail doesnt show the attributes!@purbeckpixels + @nicotolsta
@claudiulodro just made a fix (for the older order issues)If you can FTP into your site’s files, open
includes/class-wc-order-item.php
, scroll down to “around” line 211 you’ll see this line of code:if ( $product && preg_match( $value_in_product_name_regex, $product->get_name() ) ) {
Now, you “could” wait for @claudiulodro ‘s merge & then for the update to show up in your dashboard….. or ?? you can carefully replace that line with this code:
if ( $product && preg_match( $value_in_product_name_regex, $order_item_name ) ) {
See the end of that after the comma where it changes from
$product->get_name
to$order_item_name
, that’s the specific part you’ll want to change.Go Sensei Lodromanean!
- This reply was modified 7 years, 11 months ago by Brad Griffin.
Forum: Plugins
In reply to: [WooCommerce] On 3.0, the Order detail doesnt show the attributes!oops
I realized I forgot to add a screenshot showing the variation’s title being displayed on the
/checkout
page like @purbeckpixels mentioned:
Here ‘ya go —> https://prnt.sc/esvr3jForum: Plugins
In reply to: [WooCommerce] On 3.0, the Order detail doesnt show the attributes!Testing site / nothing to promote / working demo /
https://emojithreads.com@nicotolsta @purbeckpixels I ran over there and set default variations on shirts to make this quicker. Run over there, whack add-to-cart on a few items, and take a look at the cart in the header and the one in the sidebar.
Both in the menu cart and the sidebar, I’m seeing the product variations.
https://prnt.sc/esvmlj
https://prnt.sc/esvneoThis would lead to the question of some level of theme incompatibility? Maybe another plugin? …or maybe I’m not checking this on the correct “mini cart” and you’re referring to “something else” ??
Forum: Plugins
In reply to: [WooCommerce] Sensei conflic with 3.0.0https://github.com/Automattic/sensei/commit/96ef7f1101871c554fb2e0e995345343290cd865
@christian-gatti :
It’s just been updated and waiting to be merged.Don’t forget as well (for anyone else who’s found this thread via search) that Storefront needs “something” set for the
Handheld
Menu ??One of the main reasons I’ve seen folks mobile menu not appearing in Storefront is simply because they think it’s the same one that appears in the site. Unfortunately, Storefront needs it’s own mobile version of a menu to display. And it’s gotta be set within
Settings > Menu
If you’ve got your site open, copy and paste the end of THIS url onto the main domain of your site and it’ll take you to exactly the right spot:
/wp-admin/nav-menus.php?action=locations
Forum: Themes and Templates
In reply to: [Theme: Storefront] Mobile menu not workingDon’t forget as well (for anyone else who’s found this thread via search) that Storefront needs “something” set for the
Handheld
Menu ??One of the main reasons I’ve seen folks mobile menu not appearing in Storefront is simply because they think it’s the same one that appears in the site. Unfortunately, Storefront needs it’s own mobile version of a menu to display. And it’s gotta be set within
Settings > Menu
If you’ve got your site open, copy and paste the end of THIS url onto the main domain of your site and it’ll take you to exactly the right spot:
/wp-admin/nav-menus.php?action=locations