Skip to content
This repository has been archived by the owner on Aug 9, 2019. It is now read-only.

Add to Cart not Showing #6

Open
jillybop opened this issue Jun 12, 2013 · 5 comments
Open

Add to Cart not Showing #6

jillybop opened this issue Jun 12, 2013 · 5 comments
Labels

Comments

@jillybop
Copy link

Hi Guys,

Love, love, love this plug!!! I'm a big fan of Woocommerce, and this plugin is great. Just what I've been looking for. However, it's not showing an "add to cart" button. So there's no way to actually "fund" the project. Any ideas?

Thanks again. This is really great!

@chrislema
Copy link
Owner

Have you de-activated other plugins to know it's the plugin failure? It
shouldn't be hiding the main "fund" button.

On Wed, Jun 12, 2013 at 2:04 PM, jillybop [email protected] wrote:

Hi Guys,

Love, love, love this plug!!! I'm a big fan of Woocommerce, and this
plugin is great. Just what I've been looking for. However, it's not showing
an "add to cart" button. So there's no way to actually "fund" the project.
Any ideas?

Thanks again. This is really great!


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

@jdkussow
Copy link
Contributor

Since a project can have multiple sponsorship levels, there is not a single fund button. Instead, you need to add the WooCommerce Sponsorshp - Levels widget to the Sponsorship Sidebar. Is that what you were looking for?

@Compustar82
Copy link

Hey Jillybop,

My workaround for this was to go in to WooSponsorship-master/classes/class-wc-sponsorship-product.php and change

function before_add_to_cart() {
    echo '<div style="display: none;">';
}

to

function before_add_to_cart() {
    echo '<div style="display: block;">';
}

Then, I just used:

div form.cart div.quantity{
display:none !important;
}
.woocommerce-page .button{
display:none !important;
}

on the product pages which weren't sponsorship type products. I think this is what you were looking for. It's not the prettiest or probably even the best way, but hey, it works! :)

@jsteb
Copy link

jsteb commented Dec 18, 2013

This is a brilliant concept... I'm finding that it isn't quite working as designed for me. I'm assuming it is an issue with the Woocommerce Mystile theme and Woocommerce 2.xx version I'm using.

What are the plans for this plugin? Any reason I shouldn't fork it and work on it further?

@everysundays
Copy link

Dear all,
What matters about the Pledge or Sponsorship concept is, as @jdkussow has stated

  1. There can be levels of pledges.
  2. Each pledges will act as an "add to cart" which points to the different amount of money.
    and further more
    • I think it would be great if both Goal and Pledge amount can also be set as "number of things" not just "amount of money"

@jsteb if you are still in with this git, I am in, too.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants