Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variations do not add attribute prices #1

Open
lilireed opened this issue Mar 19, 2013 · 3 comments
Open

Variations do not add attribute prices #1

lilireed opened this issue Mar 19, 2013 · 3 comments

Comments

@lilireed
Copy link

Hi,
This was exactly what I was looking for! I was so glad to find it, but I ran into a few problems... I'm trying to make this work for woocommerce 2.0.4 I know there could be issues here, but it seems to work at least in part, I can add prices to variations (added +200 and +10% for example).
The problem is that when I add a new product and add the attributes base price and variations, the prices for the variations do not work, I have to add them manually, and as far as I had understood the whole idea was to add prices to the attributes so the variations would add up automatically, is that not so?
Any help will be much appreciated, thanks!
Lili

@m4olivei
Copy link
Owner

Hello,

Thanks for trying it out. I realize now that as I wrote it, the plugin requires a patch to Woocommerce in the 1.6.x version, which I've added. This patch has actually made it into Woocomerce 2.x, so in your case, you will not need that patch.

I did have to make a slight change to the plugin, which is commited. Update your copy of woocommerce-attribute-pricing to the latest and try that out. Let me know if it works.

Thanks,
Matt

@lilireed
Copy link
Author

Hi Matthew thanks for the answer!
I installed the new files and tried it out. I have "Apply to current variations" checked for all my attributes, the attribute prices I had set using the previous installation were there so I changed nothing.

This is what happened:

  1. When I got into an existing product to delete all variations and re-"Link All Variations" the "Link All Variations" and "Delete all variations" buttons do not respond. i.e. nothing happens. When I deactivate the plugin they do.
  2. When I tried adding a new product, I set the attributes, published, then set the base price, updated the post, then tried to "Link All Variations" again. Once more the button is not responding.

So I can't really see what happens because the button seems to not work. What could this be due to?
I'm attaching screenshots of the attributes and the variations screen on my new product in case they will help. All in spanish but the buttons are the same.

attributes1

variations

Thanks!
Lili

@abalu
Copy link

abalu commented Feb 12, 2014

Hi Matthew, hi lilireed,

actually this was also exactly what I was looking for!
There is nothing like this plugin on the whole web - and as i ve discovered - i am not the only one!!
The only Problem that i have is that i have to use composite_products plugin which needs at least woocommerce release 2.0.16.
So i am running now woocommerce 2.0.20 and i struggle with the exact same issues that lilireed described above. I checked if your patch is still in that release - and it is!
When the plugin is activated - both variation buttons won't cause any action - plus the price on the frontend won't change.. no matter if its flat, percentage or negative value..

i would try & like to update this plugin to woocommerce 2.0.x ...
but i don't have an idea where to start.. what could be the problem?
Any ideas anyone?

Thanks,
abalu

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

No branches or pull requests

3 participants