Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter Rafael UJ

    (@rafaeluj)

    Dear Rahul

    This is exactly the issue I am facing.
    I love “Independent Product” but if I use this feature the customer cart is going to look very illegible.

    For example (order invoice):

    2 × Mens Hoodie Black (£39.99)
    1 × with black finish (£2.99)
    1 × with black aglets (£0.99)
    1 × with pocket (£3.99)

    Instead of:

    2 × Mens Hoodie Black (£39.99)
    1 × Hoodie Black Finish (£2.99)
    1 × Black aglets (×2) (£0.99)
    1 × Hoodie Extra sewn pocket (£3.99)

    The label would definitely solve this and make the order look more professional.
    Having a different label on product add-on just on a product page that is different from an actual product name gives more control over the user behaviour and will contribute to sales.

    Thank you for considering.
    Rafael

    • This reply was modified 2 years, 7 months ago by Rafael UJ.
    Thread Starter Rafael UJ

    (@rafaeluj)

    That worked like a charm! Phil you’re da MVP! ????
    Thank you so so much!

    Thread Starter Rafael UJ

    (@rafaeluj)

    I was working to upgrade the PHP to 7.4 – would installing V3 alleviate this issue?

    Thread Starter Rafael UJ

    (@rafaeluj)

    Hey Phil!
    Thx for the reply!

    the whole part of this script type="text/template could be removed I suppose..
    I mean this block:

    <script type="text/template" id="tmpl-age-gate">
    
    <blockquote>  <div class="age-gate-wrapper"><div class="age-gate-background-colour"></div><div class="age-gate-loader"><svg version="1.1" class="age-gate-loading-icon" xmlns="https://www.w3.org/2000/svg" xmlns:xlink="https://www.w3.org/1999/xlink" x="0px" y="0px" width="40px" height="40px" viewBox="0 0 40 40" enable-background="new 0 0 40 40" xml:space="preserve"><path opacity="0.2" d="M20.201,5.169c-8.254,0-14.946,6.692-14.946,14.946c0,8.255,6.692,14.946,14.946,14.946 s14.946-6.691,14.946-14.946C35.146,11.861,28.455,5.169,20.201,5.169z M20.201,31.749c-6.425,0-11.634-5.208-11.634-11.634 c0-6.425,5.209-11.634,11.634-11.634c6.425,0,11.633,5.209,11.633,11.634C31.834,26.541,26.626,31.749,20.201,31.749z"/><path d="M26.013,10.047l1.654-2.866c-2.198-1.272-4.743-2.012-7.466-2.012h0v3.312h0 C22.32,8.481,24.301,9.057,26.013,10.047z"><animateTransform attributeType="xml"
                attributeName="transform"
                type="rotate"
                from="0 20 20"
                to="360 20 20"
                dur="0.5s"
                repeatCount="indefinite"/></path></svg>    </div><div class="age-gate"><form method="post" action="https://ultimatejuice.co.uk/product-category/e-liquid/ultimate-juice-brands" class="age-gate-form"><h1 class="age-gate-heading">Ultimate Juice</h1><div class="age-gate-error" data-error-field="buttons"></div><p class="age-gate-challenge">Are you over 18 years of age?</p><button type="submit" value="1" name="age_gate[confirm]" class="age-gate-submit-yes">Yes</button><button type="submit" name="age_gate[confirm]" class="age-gate-submit-no">No</button><p class="age-gate-remember-wrapper"><label class="age-gate-remember"><input type="checkbox" name="age_gate[remember]" value="1" checked="checked"  />
                Remember me          </label></p><input type="hidden" name="age_gate[age]" value="TVRnPQ==" /><input type="hidden" name="action" value="age_gate_submit" /><input type="hidden"  name="age_gate[nonce]" value="c8aa474bf5" /><input type="hidden" name="_wp_http_referer" value="/product-category/e-liquid/ultimate-juice-brands/" /><input type="hidden" name="confirm_action" value="0" /></form></div></div>

    I believe it is generated by age-gate-shortcode, if I remove the script will this stop the JS version from working? Or is there another way? Line of code perhaps?

    because what’s tripping up my whole optimization is just this part:

    value=”c8aa474bf5″

    Thank you for your time brother!

    • This reply was modified 3 years, 8 months ago by Rafael UJ.
    • This reply was modified 3 years, 8 months ago by Rafael UJ.
    Thread Starter Rafael UJ

    (@rafaeluj)

    No changes, the code is still in every page

    Thread Starter Rafael UJ

    (@rafaeluj)

    Update: I tried to make a vary out of the whole RewriteRule .* - [E=Cache-Vary:tmpl-age-gate] but to no avail.

    I excluded tmpl-age-gate from optimised JS – testing.

    I am no expert but no means but that sounds like your age gate CSS was minified and broken on the way.
    The easiest way to rule my theory out – would be to look at the page source in the browser after the unsuccessful load.

    • If you can see all the DOMs in the source code but nothing on the screen – CSS problem.
    • If you can’t see the elements of the page in the code – something went wrong while generating the page. Potentially JS problem?
    • This reply was modified 3 years, 8 months ago by Rafael UJ.
    Thread Starter Rafael UJ

    (@rafaeluj)

    It seems that adding a simple “ga” (no quotation marks) solved the problem,

    Page Optimisation > (7) Tuning > JS Excludes

    ga

    nothing else was needed?

    partial string seems to fixed everything, I just could not find in documentation that the partial string can be a simple function call as well!

    Thread Starter Rafael UJ

    (@rafaeluj)

    Light house gives you the User agent (network) down the bottom of the report

    duh, such an idiot I am LOL xD

    I had a look at your code and the thing is probably the neatest plugin I’ve seen dude, the community needs more stuff from you – but enough c**k-sucking, please accept my sincere thank you, you really deserve the praise.

    Thread Starter Rafael UJ

    (@rafaeluj)

    Thank you Phil!

    I am on
    Version 2.13.6

    your line worked perfectly for the mobile one!

    I will need to figure out the Desktop version.

    Thx a ton! <3

    what happens if you go to the Pages > (whatever your homepage is)

    and on the right in Age Gate Options box mark the whole home page as

    Do not age restrict this content

    it looks like Homepage is restricted + Broeders Bier?

    Dashboard > Pages

    it is very likely you have Admin bypass active (which means as an admin it will not check the age until you turn it off in access settings)

    So as soon as you are logged in – you won’t see it.

    Age Gate > Access management:

    Allow bypass for individual content (“All content mode”)

    That should allow you to see it.
    Alternatively use private browsing mode and visit the website
    you’d have to disable the “Coming Soon” mode for that though.. ??

    Rafael UJ

    (@rafaeluj)

    Hey Leeonard, I am not sure how relevant your question still is but it sounds like you perhaps have it disabled in Woocommerce Settings > WC Pickup Store

    You should have 2 tick-boxes

    • Enable/Disable
      Enable stores in chekout
    • And if it is not updating, maybe your Litespeed is set to cache admin area? Purging the whole cache should help.

    Thread Starter Rafael UJ

    (@rafaeluj)

    Is that plug-in still supported?

Viewing 15 replies - 1 through 15 (of 17 total)