Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #815442

    Why is the “Show Details” button missing on variable and subscription products

    Please see these screenshots
    2017-07-01_15-52-23.jpeg
    2017-07-01_15-55-04.jpeg

    #816913

    Hey JuergenB,

    Please do contact the plugin developer to help you regarding the subscription issues.
    We appreciate your time

    Best regards,
    Basilis

    #816935

    You mean contact Woocommerce to resolve this issue?

    #817448

    Hi JuergenB,

    Yes, That’s what Basilis meant.

    Did you notice when this happened? With some update?

    Best regards,
    Victoria

    #817452

    Hi Victoria:

    Thanks, but no, I only recently started to set up variable products and had not noticed the differences in display before.

    To me this creates an uneven user experience, I would like to CSS style a more obvious “Show Details” button, and this is when I noticed that these were missing entirely from some products on my page https://polymash.com/podcast-production-marketing-services/.

    I will investigate some more, and am also looking at more advanced grid display plugins for Woo to see if they offer anything useful.

    #818162

    Hi JuergenB,

    So the “Show details” does not show for product variations, right?

    Best regards,
    Victoria

    #818250

    Hi Victoria:

    The reason I am raising it with you all at Kriesi (instead of Woocommerce as Basilis suggests) is this:

    I am using an Enfold product grid widget here.

    So I am assuming that you have developed this grid plugin, or are at least managing it.

    I am also assuming that this issue affects all Enfold clients that use your grid control to display Woocommerce products.

    In answer to your question: “Show details” does not show up for product variations, and also not for subscriptions.

    #819202

    Hi,

    The “show_details” button should display on subscription items by default. If not, please upgrade to version 4.1 then edit the config-woocommerce > config.php file, look for this code around line 314:

    if(in_array($product->get_type(), array('subscription', 'simple', 'bundle')))
    

    Add the “variable” type inside the array.

    Best regards,
    Ismael

    #819528

    Hi Ismael:

    Thank you!

    I am on Enfold 4.1

    This code worked for variable products, they now show a “details” button. (YEY!)

    • Will this code update survive theme updates?
    • is there a way to store this change in my child theme folder somewhere?

    However, this does not work for subscription products,

    • Perhaps because they are BOTH subscriptions AND variable products?
    • Please see this link for an example of variable subscription products on my site

    Ismael, any thoughts on enabling the details button for this scenario?

    Many Thanks.

    • This reply was modified 6 years, 9 months ago by JuergenB. Reason: typo fix
    #819796

    Hi,

    Did you use a plugin for that? The “variable/subscription” type is not a default product type. Please go to line 308:

    if($product->get_type() == 'variable' && empty($output))
    

    Above the line, add the following code.

    var_dump($product->get_type());
    

    Check the page again and let us know what product type it returns.

    Best regards,
    Ismael

    #820030

    URGENT PLEASE HELP!! MY SITE IS DOWN…Did you or someone from your support team make any changes to my site?

    Someone used the admin login I provided above to log into my site last night and left the site inoperable and down. The login I created was used 15 minutes before you wrote this.

    My site is down with the following message:
    Fatal error: Interface ‘Thrive_Leads_Tab_Interface’ not found in /home/polymash/public_html/wp-content/plugins/thrive-leads/admin/inc/classes/display_settings/Thrive_Leads_Tab.php on line 7

    here is the audit trail with details

    This email was sent from your website “Polymash” by the Wordfence plugin at Tuesday 11th of July 2017 at 11:51:39 PM EST
    The Wordfence administrative URL for this site is: https://polymash.com/wp-admin/admin.php?page=Wordfence
    A user with username “thrivers” who has administrator access signed in to your WordPress site.
    User IP: 49.146.201.186
    User hostname: dsl.49.146.201.186.pldt.net
    User location: Philippines

    Please advise

    1.) What changes were made last night.
    2.) how I can get my site back up and running.

    Thank you.

    • This reply was modified 6 years, 9 months ago by JuergenB.
    #820062

    Update – I have disabled the plugin “Thrive Leads” (Which was working fine until just before the above documented login). My site is currently running, but Thrive Leads is a business critical plugin for me, and I need to figure out what changes were made that caused it to fail.

    It is clear to me that this is not a random issue with Thrive Leads, but rather an issue caused by the login above. Google analytics shows that all traffic to my site stopped immediately after the above documented login…

    Update 9:50AM ET: Even with the Thrive plugin disabled, I am getting a number of 500 server error messages

    • This reply was modified 6 years, 9 months ago by JuergenB. Reason: Update
    #820081

    Hi JuergenB,

    Could you please check the server log for errors and send it to us?

    Best regards,
    Victoria

    #820084

    Update 10:20AM: I have switched from PHP V 7.x to PHP V 5.6 – This seems to resolve the issues caused by code changes made last night.

    So for some reason, whatever update was made to my site has in general caused me to have to revert to PHP 5.6. The site had been running on PHP7.021 for months.

    Please advise how I can go back to PHP 7.

    • This reply was modified 6 years, 9 months ago by JuergenB.
    #820089

    Update 10:25 AM ET: I switched from PHP5.6 to the PHP 7.1.7 – so far this works, still monitoring.
    To summarize:

    7.0.21 Does not work (This is what my site was on previously)
    5.6.31 Works
    7.1.7 Works

    #820172

    Follow up to Ismael: I did the procedure you outlined, the product type is called “variable-subscription’, added this to the array, and this worked. BTW I am not using any special plugins, except Woocommerce’s own subscription plugin, which does offer variations. See here: https://woocommerce.com/products/woocommerce-subscriptions/

    Still no answers RE what was changed during last night’s admin login.

    #820459

    Hi,

    I didn’t access the site. I’m not sure what happened to the plugin. Please try to contact the plugin authors.

    Best regards,
    Ismael

Viewing 17 posts - 1 through 17 (of 17 total)
  • You must be logged in to reply to this topic.