Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter skhalaf09

    (@skhalaf09)

    Thanks @alcatrazhorizon

    So I assume the code above should now render the checkout button as “Go to Secure Checkout” right? I added the code to my snippets, it is active, but the button still renders as “proceed to checkout”.. again, I am using Woocommerce blocks (cart block), not the typical Woocommerce cart page/shortcode.

    Sam

    Thread Starter skhalaf09

    (@skhalaf09)

    Thanks Darren.
    So under wp-content/plugins , what folder name should I look at? because I don’t seem to find it.
    If we update the js files themselves, wouldn’t that “temporarily” fix this issue until this is fixed/handled in next releases ?

    Thread Starter skhalaf09

    (@skhalaf09)

    Hi Darren,
    So I do have the WC blocks plugin installed (sorry it does not seem I can attach screenshots here, so I copied/pasted what I see in installed plugins):
    WooCommerce Blocks
    Deactivate
    WooCommerce blocks for the Gutenberg editor.
    Version 4.2.0 | By Automattic | View details

    Then I created a cart page and used the Cart block.
    I am asking for were the plugin actually is installed so I can give it a try and see if I can find the code responsible for rendering the “proceed to checkout” button and adjust that, makes sense ?

    Thread Starter skhalaf09

    (@skhalaf09)

    Also, any hints on where to find the plugin folder in WP ? I go to wp-content >> plugins but I can’t find wc blocks.. it this also a secret that you guys can’t share with users?

    Thread Starter skhalaf09

    (@skhalaf09)

    Joey,
    I understand all you said, but still, it makes no sense to make this whole plugin a black box on an open source platform. People use wordpress, Woocommerce and their plugins because it is open source and can be customized easily. I assume WC Blocks have followed the same code standards and methods as WP/WC (i.e. hooks, filters..etc.) so there must be some way for users to make changes while you work on enhancing the overall functionality.

    I still do not understand how a plugin in 2021 does not allow for a simple change like changing a label from X to Y.. we are not talking about changing logic or functionality.. just labels and such! We are so disappointed as we are about to go live with our site, and had this cart page created a while ago and got used to it, and now that we want to only change the label of one button we are being told we either live with it or replace the whole plugin at this late stage!

    Thread Starter skhalaf09

    (@skhalaf09)

    Even Loco Translate does not seem to find this text! Not sure why this is made so uncustomizable!

    Thread Starter skhalaf09

    (@skhalaf09)

    Thanks @dvoy
    That’s the cost I was referring to when it comes to handling things like this with CSS. it is not the most ideal way, might affect performance, and most importantly, might raise browser compatibility issues. I have seen others having the same issue with IE. Not to mention that IE sucks anyway.

    I am still hoping someone can provide some PHP hints.

    Sam

    Thread Starter skhalaf09

    (@skhalaf09)

    And actually, I don’t think CSS alone works anyway. The link you provided are more of examples to handle changing a button when a certain event occurs( ex. Rename button when button is clicked). This is completely different.
    Also, if you think of this from a translation perspective, isn’t this text supposed to be translatable by translation plugins? Then where is this text coming from?

    Thanks,
    Sam

    Thread Starter skhalaf09

    (@skhalaf09)

    Thanks @zdenys
    To be honest, I am surprised by the tight limitations to customize or change anything in WC Blocks. It is a really cool enhancement but the fact that you can almost change nothing is absurd to me.
    Now, CSS is possible but comes with a cost. We were hoping for a way to tweak that through php (as we do for 99% of the WC/wordpress functionality). Are there any hints on where to start, where to find this text, hooks or filters..etc? you do not need to provide the exact code snippet.. just pointers would be greatly appreciated.

    Thanks
    Sam

Viewing 9 replies - 1 through 9 (of 9 total)