Good work on the testing guys .
Time for some TV and bed methinks.
Time for some TV and bed methinks.
Pho,
Is this something that could be easily added to the OcUK main site as a link? Instead of people having to hack it in themselves?
I dunno what I am doing wrong. I got IE11, the Favorite bar is open, I drag the green box up and I just get the crossed out cant drop here symbol.
Is this working on IE11?
Hi - I've been browsing the forum for many years but never really got involved. I did attempt to create a forum account many years ago, it got rejected for some reason but anyway I'm here now.
I was quite bored this afternoon, and I noticed that every time a new list is created, there's not really an easy method of getting that list to your basket, quickly and easily. Until now! I've been working on a little something. It's not ready but there's a little something to show and explain. If the interest seems significant, I'll happily make it work and see if Pho would like to contribute it to his code. It uses Pho's original source, but with an extra few lines, it saves the current cart list over to another server. This server then returns back a unique code, which can be used to pass on to quick add everything to your basket. (It also amends the BBCode text to add the link inside here)
Here's a quick example (The products in this list are just randoms! Not by choice lol)
http://d3v.me.uk/overclockers/compile/index/XLQKb0
This is what happens behind the scene for the techhie ones.
1 - You visit this link. In turn it asks for what items are registered against "XLQKb0"
2 - This then populates some Javascript in the back end, Product codes + Qty's for each Product.
3 - First time it will load an iframe to submit the first item to basket
- (You have to add one item to basket and wait for it to load, because when the basket is empty, there is no "ocukbasketid" cookie set, so you need a cookie set before any other items can be added, or else multiple baskets are created and you end up with 1 item in your basket)
4 - It will then spawn additional iframes and add the products to basket.
5 - When the final product has been loaded, you are then redirected to http://www.overclockers.co.uk/viewcart.php
There is a few downsides, there's no real way of "emptying" your basket unless you was to add another shortcut in your bookmarks. So you have to make sure your basket is empty first for a fresh list.
I could create an additional bookmark, which in turn asks you for the unique code, you paste it in and it will empty your basket, and add the items while your still on the OCUK website. That way the link is still useful to send to friends.
Anyway, before I loose you all and blabb on any more, I look forward to hearing your responses
Thanks.
Not really. Used to be with Chrome, but not anymore. The clipboard area is client protected. Probably for your own good.
if (window.clipboardData && window.clipboardData.getData)
window.clipboardData.setData("Text", cartBBCode);
I always wondered how forum users were showing baskets in their posts.....why on earth isn't this thread a sticky?
Just message a don?
Is that the one where if they get enough signatures, it has to be discussed in parliament?
Has anyone had any issues with the add-on since the Chrome update? I no longer get the basket icon despite uninstalling/reinstalling the addon and clearing browser cache!!
I'm back again
Was wondering if I should continue with what I mentioned last time if you fancy banging heads together to come up with a nice streamline solution ?