How do I put a 'Sales Notice' popup showing recent sales on WP? - html

I was wondering if anyone knew how to put a box in the corner showing recent sales of products on a site (or if there was a plugin for this on Wordpress) - On the code its shown as 'salesnotice' but I cannot find it as a plugin anywhere.
Example:
www.kogan.com.au - the bottom left corner shows the product that was bought not long ago. The box also shows different products and fades in/out.
Cheers

This sounds like a perfect situation to use a widget. Create a widget that queries for the most recently bought product and display that post's information. Then once the widget is set up define an area on the page you want it to show. If you want it on every page then footer.php would probably suffice. Hope this helps!

Related

Shopify - Announcement Bar Update

I made a custom announcement bar for my website, and with it, it has a Free Shipping Counter. So, whenever a customer adds something to their cart, it shows them how much to add to get Free Shipping.
Only problem is, the text doesn't update unless the page is refreshed. I don't know how to go about this, but what I can see is that this is possible without a page refresh, as the number of items in the cart update immediately (right beside the cart icon).
Any help would be much appreciated. I will also link the code to the Announcement Bar when I have sorted this out (for those seeking an announcement bar with lots of customization options).

Extract and select links from webpage

There is a website that I visit daily called thegudda.com, this website posts lots videos on a daily basis so instead of going through the website and clicking link by link, I wanna make an iOS shortcut that select all the video links at once on the webpage then I can choose all of them and open them in new tabs... What I got so far: ^https://www.thegudda.com/(.*)([A-Za-z]+)\b(?
https://www.thegudda.com/crazy-bird-attacking-people-and-one-dude-ended-up-paying-the-price/
https://www.thegudda.com/crazy-bird-attacking-people-and-one-dude-ended-up-paying-the-price/
https://www.thegudda.com/that-look-on-his-face-what-do-you-think-kanyes-thinking-in-this-moment/
https://www.thegudda.com/that-look-on-his-face-what-do-you-think-kanyes-thinking-in-this-moment/
while I just want each link one time...
you can put them in Set, the Sets by default removes the duplicate elements.
you can see more about Sets here:
https://docs.swift.org/swift-book/LanguageGuide/CollectionTypes.html
in Sets section

I want to show results based on the user's input without reloading the page! (For Wordpress webdesign in html?)

please understand that I'm a total noob in coding.I'm working on a page of my local Scouting community that allows the visitor to type a number (which represents the age of their child. Ages from 0 to 18), which has to put something in motion so that the troop their child belongs to, instantly shows up on the page (without refreshing the page).This is my idea: https://i.stack.imgur.com/IzAM6.jpg(Text from the image:)
On the left side from top to bottom:- Visitor can click on boy/girl- Results shows directly after input. No Refreshing- Content loads after an upwards motionOn the right side from top to bottom:- Result remains on page until reload/backspace
About the website: https://www.eos-sthubertus.nl (Now under maintenance, so temporarily this website replaces the website stated above: http://eos.zellez.net)We are a local Scouting community that had a really old UI (a 2005 look). Together with a few other people, we are modernising the website and complying our website to the GDPR.
I am unable to give you any specific code examples as you havn't added any code yourself to the question. This is a generic jQuery AJAX tutorial for WordPress that should get you up on your feet:
https://premium.wpmudev.org/blog/using-ajax-with-wordpress/
You will be able to hook a javascript event to the boy/girl button to trigger the event:
https://api.jquery.com/click/

Comments/Review sections text doesn't set div size in WooCommerce Theme

I'm playing around with a WP theme and WooCommerce. I have a basic product added, however the reviews/comments on the products don't seem to display any text. If you take a look at the screenshot below you'll see that there is a box/div created for the comment, however the text inside of this is not visible.
Does anyone have any ideas what could be causing this?
http://spencerdavieson.com/product/embers-destines-1/ <---- That's the link to the specific page with the issue
Thanks in advance!
Yea i did a test one to see. If you right click the box area on the page and do inspect eliment you can see a review from a user called marc

how to fetch specific part of an html page into webBrowser control?

I am working on getting only a part of the navigated webpage.
for example, "the face book . com" homepage.
I only want the division of groups on the left to appear in my web Browser control.
is that possible?
I am having ideas on fetching but i don't know how to do it. any other way is fine.
also, please let me know where to put the code, because i am new on vb.net
web.Document.All("mConnect").InvokeMember("click")
this is for clicking something inside the html
web.Document.getElementId("<div>").InnerHtml("")
is this code correct? what is it for?
let's say we cut the google homepage 4 ways. and i only want Quadrant 2 to appear in my webBrowser control. is that possible? I think this is a clearer explanation..
I saw one post in this forum that technically solved my problem by manually forcing the webbrowser control to scroll to what place I want.
Web.Navigate("javascript:window.scroll(320,10,document.body.scrollHeight);")
320 is the width, 10 is the height. edit to where you want it to be.
adjust the size of your webBrowser then you can particularly choose the part that you want to see, disable scrollbars if you want.