Forum Replies Created

Viewing 15 replies - 1 through 15 (of 42 total)
  • Thread Starter smallbizgeek

    (@smallbizgeek)

    Wow you are so rude.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    This is how WordPress works. It’s fundamental and has nothing to to do with the theme. When I take it a theme, I modify the heck out of it.

    Embedding the code into individual pages is the long way.

    Creating a widget via Appearance > Widgets (not the block editor in the post/page) means that the code is pasted only once and appears on every post/page where you want it to appear.

    In fact, this PDF plugin (as opposed to the code version we’ve been debating) uses conditionals using check boxes. You choose where you want the code to appear, and the options are, among others, posts and pages.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    I got the code working. I have some aggressive caching at the server level, so the thing wasn’t showing.

    Registering a new widget means I don’t have to individually copy and paste the code into the pages I want the button to show on. I just need to paste the code once into a widget (Appearance > Widgets) and use some code in functions.php to display this on certain pages and posts.

    It’s the best way!

    Thread Starter smallbizgeek

    (@smallbizgeek)

    So you’re using this on a WordPress site? I tried pasting the code directly into a page, but nothing showed up. I was using a HTML block.

    I’m thinking I’ll need to register a widget using a hook with conditional tags so that is displays on pages and posts below the article title.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    Hi Kyle. I’ve skimmed through each of the two plugins I mentioned, and I’ve yet to see if it can be used on a homepage widget and styled in the way the car tire website has styled theirs.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    can’t you just change the alt tag in the image to alt=”” ?

    You mean change the title tag to an alt?

    Thread Starter smallbizgeek

    (@smallbizgeek)

    I think I will be able to use some conditional tags with hooks in functions.php

    Thread Starter smallbizgeek

    (@smallbizgeek)

    Are you saying I need to register a widget area under in posts/pages where the button should show and add the custom HTML directly there?

    Thread Starter smallbizgeek

    (@smallbizgeek)

    Hi, thanks for replying. Where is this HTML supposed to go?

    I already have the button set up on the site and really only need to change the button title text. This code seems to be affecting other parts of the style.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    Great – thanks

    This issue persists

    Thread Starter smallbizgeek

    (@smallbizgeek)

    I should like to add also that although this issue seems like an anomaly, I’ve had other issues which turned out to be major WooCommerce bugs which have been addressed in newer iterations of particular extensions.

    Prior to WooCommerce 3 I was using the code snippets, since deprecated:

    https://docs.woocommerce.com/document/change-add-to-cart-button-text/

    Thread Starter smallbizgeek

    (@smallbizgeek)

    It’s strange, but earlier today I was going through some WooCommerce theme language strings and I was able to change things like “No products in the cart” to “Nothing in the cart”, but the “Add to cart” text wouldn’t change.

    I must have an override somewhere in my website configuration which is controlling that theme. I’ve tried both your button text plugin and the other one you suggested and neither of them are having any effect at all on the “Add to cart” button text.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    I’m already using Genesis Connect for WooCommerce: by StudioPress which seems the same if not very similar to the plugin you suggested.

    The plugin I have already set up is a delicate balancing act with tons of customisations.

    Thread Starter smallbizgeek

    (@smallbizgeek)

    Here’s a system status. Sensitive details have been removed.

    
    ### WordPress Environment ###
    
    Home URL: Removed
    Site URL: Removed
    WC Version: 3.1.2
    Log Directory Writable: ✔
    WP Version: 4.8.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    WP Cron: ✔
    Language: en_GB
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 5.6.31
    PHP Post Max Size: 65 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.35.0
    OpenSSL/1.0.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.6.34
    Max Upload Size: 64 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 3.1.2
    WC Database Prefix: re_
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    woocommerce_shipping_zones: ✔
    woocommerce_shipping_zone_locations: ✔
    woocommerce_shipping_zone_methods: ✔
    woocommerce_payment_tokens: ✔
    woocommerce_payment_tokenmeta: ✔
    MaxMind GeoIP Database: ✔
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (30) ###
    
    Gravity Forms: by rocketgenius – 2.2.4.2
    Add to Cart Button Custom Text: by Enrique J. Ros – 2.0.0
    Akismet Anti-Spam: by Automattic – 3.3.4
    Genesis Connect for WooCommerce: by StudioPress – 0.9.9
    Genesis Featured Page Advanced: by Nick Diego – 1.9.3
    Genesis Simple Edits: by StudioPress – 2.2.0
    Genesis Simple Sidebars: by StudioPress – 2.1.0
    Genesis Style Trump: by Carrie Dils – 1.0.4
    Google XML Sitemaps: by Arne Brachhold – 4.0.9
    Gravity Forms MailChimp Add-On: by rocketgenius – 4.2
    Loco Translate: by Tim Whitlock – 2.0.15
    MailChimp for WordPress: by ibericode – 4.1.6
    Simple Social Icons: by Nathan Rice – 2.0.1
    TablePress: by Tobias Bäthge – 1.8
    Category Order and Taxonomy Terms Order: by Nsp-Code – 1.5
    Testimonials: by WooThemes – 1.5.4
    TinyMCE Advanced: by Andrew Ozz – 4.6.3
    Cookie Consent: by Catapult_Themes – 2.3.4
    Woo Empty Cart Button: by WPCodelibrary – 1.0.2
    WooCommerce Bookings: by Automattic – 1.10.6 – 1.10.7 is available
    WooCommerce Checkout Field Editor: by WooCommerce – 1.5.6
    WooCommerce Direct Checkout: by Terry Tsang – 1.1.2
    WooCommerce Stripe Gateway: by WooCommerce – 3.2.2
    WooCommerce - Gravity Forms Product Add-Ons: by Lucas Stark – 3.1.11
    WooCommerce Memberships: by SkyVerge – 1.8.9
    WooCommerce Subscriptions: by Prospress Inc. – 2.2.11
    WooCommerce: by Automattic – 3.1.2
    WP-Mail-SMTP: by Callum Macdonald – 0.10.1
    WP Migrate DB: by Delicious Brains – 1.0
    Opening Hours: by Jannik Portz – 2.1.2
    
    ### Settings ###
    
    API Enabled: ✔
    Force SSL: ✔
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: simple (simple)
    grouped (grouped)
    variable (variable)
    external (external)
    booking (booking)
    subscription (subscription)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-search (exclude-from-search)
    exclude-from-catalog (exclude-from-catalog)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    ### WC Pages ###
    
    Shop base: #31 - /gym/
    Basket: #32 - /cart/
    Checkout: #33 - /checkout/
    My account: #34 - /my-account/
    
    ### Theme ###
    
    Name: Example
    Version: 1.0
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Genesis
    Parent Theme Version: 2.5.2
    Parent Theme Author URL: https://www.studiopress.com/
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: example/woocommerce/cart/cart-empty.php
    example/woocommerce/emails/customer-completed-order.php
    example/woocommerce/emails/customer-processing-order.php
    
    ### subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    
Viewing 15 replies - 1 through 15 (of 42 total)