Forum Replies Created
- AuthorPosts
-
for scroll spy using anchor tags as urls
I need to make the urls “#wppizza-header-special-offers-2” for example
I am building a scroll spy navbar so it shows an indicator of where you are on the page etc utilizing anchor tags
4 February, 2015 at 10:11 pm in reply to: updated to latest – can't add product to cart with add ingredients #7594in another thread you mentioned something about it affecting click function.
is that potential reason this happened in the update?
4 February, 2015 at 6:22 pm in reply to: updated to latest – can't add product to cart with add ingredients #7591its localhost atm.
ok. ty
those fields are specifically part of wppizza though? same deal as order history shortcode.
(on a side note I have tried some other plugins for profile information on front end and they do not see the wppizza custom fields added to the profile)
ah yes I see it added to bottom of profile page, I note that users can update their info as well when completing an order. is there a way to show these fields editable in another area i.e. making an account area that shows the order history shortcode and then possibly an account shortcode where they can edit their fields.
ah yep that was it.
and is there a way to let them edit this information not just on the order page.. similar to how there’s a order history shortcode. also maybe a shortcode for account information?
most all online delivery start with entering your address first instead of last.
part of user experience to make sure you even are available to deliver to them.
could this be a future shortcode? 🙂
14 January, 2015 at 9:47 pm in reply to: do_shortcode( '[wppizza type="openingtimes"]' ); fails within switch_to_blog loop #7059ty so much Olly it works beautifully now! 🙂
14 January, 2015 at 3:47 pm in reply to: do_shortcode( '[wppizza type="openingtimes"]' ); fails within switch_to_blog loop #7057just as an update – I still haven’t found a solution for this on my own.
how can I pull the opening times from the database without the opening times shortcode
14 January, 2015 at 4:33 am in reply to: do_shortcode( '[wppizza type="openingtimes"]' ); fails within switch_to_blog loop #7054upon further reading Olly,
switch_to_blog does not support plugin switching
thats the reason its failing for me… ugh
what other way do I have to get the opening times straight from the db
13 January, 2015 at 6:30 pm in reply to: opening times shortcode – make each segment on new line #7045ya but to get them on individual lines and then float right the times.. this css works well for that.
13 January, 2015 at 6:22 pm in reply to: opening times shortcode – make each segment on new line #7043btw for anyone finding this thread –
Here’s how I made it display a little more orderly – your mileage may vary – you may have to change the classes to match your site.
.wppizza-optm-1-4, .wppizza-optm-5, .wppizza-optm-6, .wppizza-optm-7 { display: block; clear: both; } .wppizza-optm-1-4 > span, .wppizza-optm-5 > span, .wppizza-optm-6 > span, .wppizza-optm-7 > span { float: right; }
13 January, 2015 at 6:12 pm in reply to: opening times shortcode – make each segment on new line #7041are the classes always the same though.
.wppizza-optm-1-4 .wppizza-optm-5 .wppizza-optm-6 .wppizza-optm-7
are the ones used with my opening times
so if I change the hours in 6 months will it break my css
ok I forgot to use code tags…
<a id="show-quick-cart" class="glyphicon glyphicon-shopping-cart" style="text-decoration: none; font-size:30px; margin-top: 10px; margin-right: 10px; color: orange;"> <span class="cart-notation noIbar"><?php echo do_shortcode( "[wppizza type='totals' itemcount='left']" ) ?></span> </a>
ok for others that are interested in this –
I added this to my code for a shopping cart glyphicon with notification of cart items
<span class="cart-notation noIbar"><?php echo do_shortcode( "[wppizza type='totals' itemcount='left']" ) ?></span>
then I applied some css
.cart-notation{ position:absolute; font-size: 20px; color: white; top: 2px; left: -5px; } .wppizza-total, .wppizza-totals-currency { display: none; } .noIbar { pointer-events: none; }
this gives you a nice little cart icon you can put in your nav or wherever you like – then it shows an ajax updated number over the cart signifying how many items are in the cart.
it also has pointer-events: none; what this does is make the numbers “transparent” to the mouse events so your mouse pointer dosnt change to that I when hovering over text.
Thank you Olly for providing the means to make this possible even though I didnt know it had this capability at first 🙂
I was trying to figure out the styling cause there is a bunch of css included with that shortcake i.e. it does not output just a regular number its wrapped in styles.
- AuthorPosts