Forum Replies Created

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

    (@tpdave)

    Hi Marios

    I thought as much. Thanks for the quick reply though.

    Thread Starter TPDave

    (@tpdave)

    Hi Paul

    Thanks for the reply. It’s all very odd. Here’s the code:
    <span class=”al_found%FOUND%US#”>%LINK_OPEN%US# %LINK_CLOSE% %LINK_OPEN%US# %PRICE%US#%LINK_CLOSE%</span>

    Pretty simple, but even on the template preview, it just shows a blank. All of the EU marketplaces return info fine.

    So I used the scratchpad and get the error:
    Error! RequestThrottled
    HTTP Status 503: Service Unavailable
    AWS Access Key ID: *****************. You are submitting requests too quickly. Please retry your requests at a slower rate.

    However:
    1) We’re really not – we are a tiny site. We’re hardly flooding the servers.
    2) The EU continues to work.

    We have caching etc turned on, so requests should really be a minimum. I wonder if this is because we’ve never driven any sales to the US before?

    Thread Starter TPDave

    (@tpdave)

    Additional issue is that it (now?) also seems to add “#amp=1” to the end of the iframe url which breaks it.

    Thread Starter TPDave

    (@tpdave)

    Hi

    Sorry for the delay. It’s via a plugin called Amazon Product: https://ww.wp.xz.cn/plugins/amazon-product-in-a-post-plugin/

    It inserts an element style sizing “style = “height: 150px;” for the iframe on the desktop version.

    Thread Starter TPDave

    (@tpdave)

    OK, I’ve been working on this this morning based on your help Paul, and I see how to make it work. Excerpt from the template below for anyone else who needs to ever do this:

    %LINK_OPEN%UK#<img alt=”%TITLE%UK#” title=”%TITLE%UK#” src=”%THUMB%UK#” class=”%IMAGE_CLASS%”>%LINK_CLOSE%UK#
    %TITLE%UK#
    %LINK_OPEN%DE#<img alt=”%TITLE%DE#” title=”%TITLE%DE#” src=”%THUMB%DE#” class=”%IMAGE_CLASS%”>%LINK_CLOSE%DE#
    %TITLE%DE#

    and then the asins in the shortcode as Paul showed. (Not sure the UK# is needed on the close tag, but put it in to be sure and it works.)

    Awesome support, Paul. Much appreciated.

    Dave

    Thread Starter TPDave

    (@tpdave)

    Hi Paul

    Thanks for the answer. I’ll have a look at the code tomorrow based on that and see if I can work it out.

    Basically, I’m trying to have it so that on the same page is:
    link to UK SKU
    thumbnail of uk sku
    title of uk sku
    add to amazon.co.uk basket

    link to de SKU
    thumbnail of de sku
    title of de sku
    add to amazon.de basket

    The UK and DE SKUs have different asins.

    Regards
    Dave

    Thread Starter TPDave

    (@tpdave)

    You need to add the actual discount you want to set up on the individual product page.

    Go to a product, in the Product Data section click on the Bulk Discount button to open the tab.

    Click on Add discount line and then enter quantity they must buy to trigger the discount and the percentage discount it will offer.

    You can have multiple discounts, so 5 gives a 10% saving, 10 a 20%, etc

    But the discount you want to show needs to be entered into each product individually.

    Thread Starter TPDave

    (@tpdave)

    WooCommerce > Settings > Bulk Discount to choose your options and make it show, then in each product you need to set the discounts on the product for it to show.

    Thread Starter TPDave

    (@tpdave)

    Hi

    I’ll share what we did manage, which is to move it up the page somewhat.

    Line 77 of woocommerce-bulk-discount.php in the plugin folder, change the priority from the default of 45. New line reads:
    add_action( ‘woocommerce_single_product_summary’, array( $this, ‘single_product_summary’ ), 35 );

    35 moves it up so that it sits directly under the Add to Cart button. You cannot move it in between as the Add to cart and varaints, etc form one block, so this is the best we could manage. You can see where this places the bulk discount on one of our pages.

    Hope it’s useful.

    Dave

    Confirmed fix, WP 3.8.1. Thanks!

    LOL. Yes, Woocommerce – hence why I was saying it would be nice if we could somehow have a shortcode or something to show the logged in user’s tickets on their account.

    Glad you like the look of the site. It shows how well it can all work together with some thought and careful use of extensions. We’ll see if the customers agree!

    Yes, we have kept with the original while you’re making your updates until you’re happy.

    We noticed one bug which we fixed: there’s an ajax handler for unprivileged users, bit not one for privileged user (submit and login to see), so logged in users (customers in our case) got a “0” error.

    Although it doesn’t stop the system working, if you log php errors there are a few there too if it helps.

    We launched last night though and the ticket system is installed and working at http://www.funkystockings.com if you want to see it in action. (Our Hosiery ecommerce site)

    I saw the update, going to apply it tonight. Woocommerce itself is free, yes. In the main plugin repository.

    “5.1” in quotes worked for me.

    OK, so here’s a completely bespoke idea, but it might be quite a good USP for the plugin. We’re running Woocommerce and we’re using this for the customer support.

    Woocommerce is really extensible.

    It would be very cool if you could:
    a) Associate a ticket with an order/customer
    b) Let the customer see their tickets and ticket history in their account page.

    Just a thought because of the way we’re using it. Pretty sure the same could be done with other ecommerce solutions.

    FYI, I changed the menu placement ID from 28 to 5.1, which puts it directly under Dashboard.

    Might be too high for some people, but I felt that having Support tickets directly under Dashboard would be useful for admins/customer service.

    Odd that WP doesn’t handle menu ID conflicts, but as far as I can tell you avoid this by using the decimal, so hence 5.1 rather than just 5.

    Anyway, fixed it for now.

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