WooCommerce Add to Cart not showing for Guest - checkout

If you go to this page and try to make a selection, you can see that the add to cart button isn't showing up. http://lihitmenlacrosse.com/product/li-hitmen-t-shirt-2/
If you are logged in and make a selection the add to cart button will show. I've searched and can't seem to figure out why this is happening. All I've seen is instances where the button hasn't shown up at all, but in my case it does show up when I'm logged in but not when I am not logged in and am browsing as a guest.
Under Templates it says:
Template Overrides: No core overrides present in theme.
Also I am using the U-Design theme if that makes any difference.
I really appreciate any help in advance.

Related

How to show a bootstrap modal from another component?

I'm building an app to manage some users, where i have a page to list them. On each user i have some buttons to make some actions on them, like edit them or delete them.
When the delete button is pressed, i would like to have a modal to show up and ask if you really wawnt to delete the user. As i may be using this modal in other places, i thought i should make it kind of generic to receive the different messages i want to show, so i built a component for it.
I've searched through some examples, but i couldn't find one similar to mine.
I've made the template for the modal and the component to back it up, but i don't know how to show it, for example, on a button click.
Any help is appretiated :)
Thanks
EDIT: i'm trying to use bootstrap modals
use bootbox instead of making a modal from scratch. they can be perfectly used for delete confirm or alerts. I use them. http://bootboxjs.com/. It is also available for angularjs.

What is the difference between disable a page and hide the page in the meu into Typo3 CMS?

I am pretty new in Typo3 world (I came from Joomla and WordPress) and I have a doubt related to well understand what is the difference between disable a page and hide the page in the menu in Typo3.
I have create a new test page and I don't want that now it appears in my left main menu.
So I click on the Access tab of this page settings and I tick the Hide (In Menus) "checkbox" so the page exist (I can access and see it using its URL) but don't appear in my main menu.
This is pretty simple but, near to the previous options, I also find the Disable (Page) checkbox. So I have try to tick this checkbox (instead of Hide (In Menus)) and happens something that I did not expect:
My test page appear again in my left main menu (I have no hide it but if I thought that if I disable a page, it is as if this page does not exist, evidently the typo3 operating logic is different from what I expect)
If, in my left main menu, I click on my test page link: the page is open but on the right top corner on the page appear to me the following textual message PREVIEW!
What it mean? I am logged as administrator, maybe the normal visitor can't see the disabled pages whereas administrator\editor see these pages? Or what?
Tnx
Andrea
Disable page = Nobody can see the page. The page is removed from the menu and it can't be accessed with the URL. You see it because you're logged into the backend. That is also why you see the red sticker 'Preview', because it is a preview.
Hide in menu = Page is hidden from the menu and the sitemap, however, it can be accessed with the URL.
Check the following documentation:
http://docs.typo3.org/typo3cms/GettingStartedTutorial/
There is a very short mapping between TYPO3 and Joomla:
TYPO3 "disable" = Joomla "Unpublish Article"
TYPO3 "hide" = Joomla "Unpublish Menu Item"
Cheers,
S.

How to turn off link effect on iPhone/iPod/iPad (CSS)?

Information: I suppose you've seen this dark box appear around a link when you click it on an iPad/iPod/iPhone. If not, click a link, and you'll see it appear and disappear when the new page has loaded.
I have a webapp that is going to be used on all platforms. I use p-tags as links because I don't want a lot of the a-tag default functionality and appearance, and the links are executed via JavaScript.
The problem is that even though I use p-tags, the iPad displays this annoying dark box around the link when you click on it. The dark box is useful to tell the user that they actually managed to click the link while the next page loads, but this webapp loads stuff from localStorage, so there is no need to have this box that clutters the GUI...
How can this box be removed?
Your reason to use paragraph (p-tags) for links is completely a mystery to me. You can control styling via CSS, no matter what tag it is. P-tags are for paragraphs, A-tags are for links. That's the most basic thing in HTML semantics I can think of.
The box you are refering to is "-webkit-tap-highlight-color"
See http://css-infos.net/property/-webkit-tap-highlight-color

Wordpress - Show Portfolio Categories

I'm working with a WordPress website and a client wants to show a list of categories in the footer. Unfortunately, it is showing as empty because he has no posts and has set the categories to portfolio items which he wants people to be able to click to.
So, how do I show the portfolio categories in the widget rather than the post categories?
Thanks,
Jack
Probably the easiest way I can think of to get the result that you want without having to resort to changing any Theme Files would be this:
Log into your Wordpress Dashboard
Navigate to Appearance->Menus
Create a new Menu, and (if applicable) enable the Custom Taxonomies for your menu by clicking on Screen Options (top right-hand corner of the page) and ticking your Portfolio's Custom Categories and/or Custom Post Types
Once all of the items you want is in your Custom Menu, save it.
Navigate to Appearance->Widgets
Add the Custom Menu Widget to the sidebar in which you would like your items to appear
Select the Custom Menu you just created, and Save
When dealing with Premium Themes, it would always be safest to stay out of their code and avoid changing anything altogether, so try this approach first. Otherwise, you may have to get your hands dirty and alter some code or contact the Theme Developer.

How to get custom post types to show up in WP's menu selection?

I am using the http://wordpress.org/extend/plugins/reed-write/ plugin.
It's basically nothing more than a UI to create custom post types in Wordpress. However, I am wondering how I can get any new type to show up in menus I create for Wordpress.
In the menu's tab to the left I can add pages, custom links and even standard 'posts'...but no sign of my custom types.
I would love to kno how to get this to show up. It's not a screen options issue it seems so I'm a little stumped.
have a look at this plugin... It does the job for me
wordpress.org/extend/plugins/custom-content-type-manager/