Forum Replies Created

Viewing 15 replies - 16 through 30 (of 45 total)
  • Thread Starter stevehoo

    (@stevehoo)

    Catalogue visibility: hidden, are hidden for a reason. Mine because I use them to populate eBay/Amazon channels. I cannot set them as out of stock. And I cannot show them in Mailchimp’s Recommendation Block. I’ll need to hide the block until you are able to fix this.

    Be happy for ever,
    Steve

    Thread Starter stevehoo

    (@stevehoo)

    Finally, I’ve found that some attributes within tags are not explicitly allowed. By adding this to my functions.php, all is now well.

    add_filter( 'wp_kses_allowed_html', function ( $allowedposttags, $context ) {
        if ( $context == 'post' ) {
            $allowedposttags['ol']['typeof'] = 1;
            $allowedposttags['ol']['vocab'] = 1;
            $allowedposttags['span']['property'] = 1;
            $allowedposttags['li']['property'] = 1;
            $allowedposttags['li']['typeof'] = 1;
            $allowedposttags['a']['property'] = 1;
            $allowedposttags['a']['typeof'] = 1;
        }
        return $allowedposttags;
    }, 10, 2 );

    As per the full structured RDFa. I’m getting a clear pass with Google’s testing tool.

    I would like to complete the RDFa with meta tags, but as yet I don’t know how to add these to Carbon breadcrumbs.
    <meta property="position" content="1">

    And if I could add the last anchor to be typeOf = ‘product’ instead of my global set in my functions.php typeOf = ‘webPage.’ That would be complete. (Left for another day.)

    Great plugin ??

    Be happy for ever,
    Steve

    • This reply was modified 7 years, 10 months ago by stevehoo. Reason: Further info
    • This reply was modified 7 years, 10 months ago by stevehoo.
    Thread Starter stevehoo

    (@stevehoo)

    Went away. Some plugin incompatibility. Great Plugin!

    add_filter( ‘woocommerce_get_breadcrumb’, ‘__return_false’ );

    This worked for me after numerous other attempted solutions.

    Thread Starter stevehoo

    (@stevehoo)

    Oh! Wait! The one attribute I see is showing outside of this Custom Attributes box (where weight and dimensions are displayed). It’s the variation as seen below and probably has nothing to do with our current attributes woes. All my above last post, I fear is ‘fake news.’

    Outside of Custom-attributes

    As well, this is only being shown in one product and no matter what I’ve done, I cannot replicate it in other products. They still have the variation in the title, as described in the above post.

    I hope these ramblings of a poor confused user help in some way and don’t confuse others.

    Thread Starter stevehoo

    (@stevehoo)

    Further. I have now, one attribute visible on the basket! I had to reset the attribute I used for making the variations. I was using the shorter method of xxx | yyy | zzz and for some reason, this was rejected. I had to delete that attribute and start it again. This time I couldn’t use xxx | yyy | zzz. I had to add using the little grey buttons. Suddenly, I see this single attribute on my basket. I’ve tried deleting and re-adding the other variable attributes, But, I still do not see these in the basket though I do in product loops, product page, as jcobrien and I have reported earlier.

    The other products in my basket, using the ‘older’ method xx | yyy | zzz are not showing this attribute, even though the other product using the grey buttons are! However, their title (linked to the product’s page) shows as “Product – yyy.” While the products with the attribute name and attribute only show the title “Product.” Further, deleting this attribute as and re-adding it, as above, has not fixed it.

    It’s a screwy world.

    I’m wondering if Woo 3.0 changed something in the attributes, maybe a string or a list confusion, such that I’m going to delete and remake Woocomerce attributes and see if that makes things ‘normal.’ However, I have some dozens of attributes and the thought of deleting and remaking is a little daunting — at the mo. So, will get back to you here asap.

    Be happy for ever,
    Steve

    • This reply was modified 7 years, 10 months ago by stevehoo. Reason: grammar
    Thread Starter stevehoo

    (@stevehoo)

    Hi, stolen some time. Uninstalled to a minimum of:

    Carbon Breadcrumbs	 	by tyxla – 1.0.2
    Plugin Manager	 	by Sujin ?? Choi – 5.0.4
    WooCommerce Show Attributes	 	by Isabel Castillo – 1.6.2
    WooCommerce	 	by Automattic – 3.0.3 – 3.0.4 is available

    And still missing the Product atts, but seeing variant atts on basket/cart still. All well everywhere else.

    Sorry. This must be most frustrating for you.

    Thread Starter stevehoo

    (@stevehoo)

    Sorry Isabel, really ;-( I cannot, at the moment, help further, by uninstalling plugins.

    However, I’ve ticked every settings box WooCommerce Show Attributes Options.

    Now, I see some atts in the basket/checkout, but only weight and dimensions – these are set, I guess, seemingly in the variations weight/dimensions. But no Woo Product Data attributes.

    Elsewhere I see both types of atts.

    Hope this helps.
    Steve

    Thread Starter stevehoo

    (@stevehoo)

    I’m using Storefront. Atts showing everywhere but not on basket and cart.

    HTH
    Steve

    Thread Starter stevehoo

    (@stevehoo)

    Hi Isabel104,
    I’ve updated. No errors on basket and cart page, but no attributes! They’re showing on loop, product and email, but nothing to be seen in basket and cart.

    HTH
    Steve

    Thread Starter stevehoo

    (@stevehoo)

    I was on 5.6 but have just upgraded to 7.0. And now I’m getting some other fatal error:

    Fatal error: Uncaught Error: Call to a member function get_variation() on string in /home/xxx/mysite.com/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php:111 Stack trace: #0 /home/xxx/mysite.com/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php(367): WooCommerce_Show_Attributes->the_attributes(Object(WC_Product_Variation), 'span', NULL, NULL, NULL) #1 /home/xxx/mysite.com/wp-includes/class-wp-hook.php(300): WooCommerce_Show_Attributes->show_atts_on_cart('<a href="https:...', Array) #2 /home/xxx/mysite.com/wp-includes/plugin.php(203): WP_Hook->apply_filters('<a href="https:...', Array) #3 /home/xxx/mysite.com/wp-content/plugins/woocommerce/templates/cart/cart.php(83): apply_filters('woocommerce_car...', '<a href="https:...', Array, '4b76fe67a0547e0...') #4 /home/xxx/mysite.com/wp-content/plugins/woocommerce/includes/wc-core-functions.php(203): include('/home/xxx...') #5 /home/wp_23j in /home/xxx/mysite.com/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php on line 111

    Still all good on loop and product pages, just the basket and checkout giving the above error and I assume still emails.

    HTH and doesn’t confuse more ??
    Steve

    Thread Starter stevehoo

    (@stevehoo)

    Have updated. No longer seeing the activation error. However, on the basket page:
    Fatal error: Call to a member function get_variation() on string in /home/xxx/mysite.com/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php on line 111
    Shop loop and product pages are still working well.
    HTH
    Steve

    Thread Starter stevehoo

    (@stevehoo)

    Hi, I’ve updated, but, “Plugin could not be activated because it triggered a fatal error.”
    Fatal error: Using $this when not in object context in /home/xxx/mysite.com/wp-content/plugins/woocommerce-show-attributes/woocommerce-show-attributes.php on line 807

    HTH
    Steve

    Yes, and it does, I was suggesting the use of my server to debug the issue.

    Hi Mike, I’m here with same. Other emails are being sent and received. I can manually send new orders or resend customer invoices from the edit order page – all is well there, but nothing is sent automatically when an order is made and completed, etc. I do however receive a Fraudlabs notification. I guess deferred emails aren’t working for me and Dreamhost.

    If you contact me directly I can give you admin access to my test private site on Dreamhost, where you can create test orders and see what’s going wrong. If you like I can give you ftp access too. I’m in no hurry and happy if this will help you.
    Be happy for ever,
    Steve

Viewing 15 replies - 16 through 30 (of 45 total)