Solved

How can I add pricing in Woocommerce without putting in all the variations from the attributes???

Posted on 2016-10-23
3
95 Views
Last Modified: 2016-11-01
The site I am doing is using a Wordpress theme with woocommerce.  Add pricing made simple

I have client with a selection of bar stools with different grades of vinyl 2 to 6, there is a price change for the different grades. The client has different frame color, type of frame, seat height, boot rest finish....

I did put in the variations which some have up to 788 different variations. A person would have to put in the price for each variations. In the vinyl/fabric drop down selection, list all the colors with the grade...like "Grade 3 Ranchide Black" There is 124 different vinyl selections.

The client would like not to enter each price for each variation. The client would like to being able to have to price change based on just the grade, seat height, frame finish, boot finish....

How can I go about this, without having to enter each variation in. Price would start the standard price.
0
Comment
Question by:dgarofalo
3 Comments
 
LVL 108

Accepted Solution

by:
Ray Paseur earned 250 total points
Comment Utility
This might be useful, but I'm not sure how a developer would implement this in WordPress and WooCommerce.  There is a well-recognized design pattern called Decorator.  It's what we choose when there is a basic product with many variations.  Full explanation here:
https://www.experts-exchange.com/articles/18300/Building-a-PHP-Pizza-with-the-Decorator-Pattern.html
0
 

Author Comment

by:dgarofalo
Comment Utility
The platform is Wordpress.  It has to work with Wordpress and woocommerce for the client to add product on their own.
0
 
LVL 35

Assisted Solution

by:Terry Woods
Terry Woods earned 250 total points
Comment Utility
If this is a one off task, then using PHP might be appropriate. You can see the data structure of data that's already been manually added to understand how it needs to be done.

Then you'd need to be able to know enough to connect to the database, perhaps load the new data from a flat file and insert it into the database.

The most important thing with this kind of task is to ensure you have backups, and to try to create a development process that allows you to refine what you're doing without breaking anything important until you've got a solution that works.

It could be quite a lot of work though!
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Often people are aiming at development of perfect Magento websites. Though, it is easier said than done. You know what’s much easier? To ruin everything. It can be done in seconds. Many of us experimented with design, tried to change some values dir…
This article discusses how to create an extensible mechanism for linked drop downs.
The purpose of this video is to demonstrate how to set up the permalinks on a WordPress Website. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Go t…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now