Forum Replies Created

Viewing 15 replies - 166 through 180 (of 310 total)
  • Plugin Author Mark Tomlinson

    (@marktomlinson)

    Glad you got this worked out.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Your option is suitable but not for me.

    I have different beds (about 10pcs)
    each has 3 sizes (140, 160, 180)
    The cost of these sizes in each bed is different.

    It seems this is where I am misunderstanding you. The plugin is written is to assume that size is an attribute, and that one of those sizes will be the least expensive. The other two sizes are some amount more than the least expensive one. So, if 140 is the least expensive and 180 is the most expensive, then 180 simply cost ‘x’ amount more than 140, and that is the markup.

    However, you may be telling me that each bed type costs a different amount. So, just assuming that 180 beds cost some flat amount more than 140 beds is not suitable. If this is the case, then can I suggest a percentage markup? If 180 beds always cost about 50% than 140 beds, regardless of the bed type, then the markup would be 50%. That way, if b1-140-a is $100, then b1-180-a would be $150. If b2-140-a is $150, then b2-180-a would be $225.

    That may not work for you either, depending on how you calculate your prices. But I thought I’d toss it out there and see if it is any help.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Have not received a response in two weeks, and so assuming the issue is resolved.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    I guess I’m confused. Are 140, 160, and 180 three separate products? Or did you set the prices in the attribute?

    Here is what I did to test what I think you are saying.

    • I created three Size attributes and set them to +100, +200, and +300.
    • I created 5 Color attributes and set them to +1, +2, +3, +4, and +5.
    • I went to the product, added the attributes, and used Create variations from all attributes, which gave me 15 variations.
    • Finally, I used Set regular prices, and set the price to 0.

    What I ended up with is that 140-A was $101, 160-A was $201, 180-A was $301, and so on. The lowest price was 140-A, and the highest was 180-E at $305.

    The above should also work if you use something other than 0 with the Set regular prices function. For instance, you made decide that you will charge 123, plus add a little for each size. But, if you were to do that, I’d recommend doing what I outlined in the first response and setting the base price at the least expensive option and adding a markup from there.

    The trick here is to recognize that the prices for each variation are all a “mark-up” from whatever price you use with the Set regular prices function.

    Does that help any? Or am I still misunderstanding?

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Let me explain how I would do it, and we can see if you are doing it the same.

    • Let’s say bed size 140 cm costs $200, 160 cm cost $250, and 180 cm costs $300.
    • I would create the global attribute of Size. 140 cm would have no markup, 160 cm would have a $50 markup, and 180 cm would have a $100 markup.
    • Let’s also say modification A is standard, but B is $10 more, C is $20 more, and so on.
    • Create another global attribute for A, B, C, D, and E. Since A is standard, there is no markup. B has a $10 markup, C has a $20 markup, and so on.

    Then I would create the product and use the Create variations from all attributes function to make all 15 variations.

    Now, since there is no markup for 140 cm, and no markup for A, 140-A is the lowest priced bed at $200. This is the base price. When I use the Set regular price function, $200 is the price I would use.

    Is that how you did it?

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Unfortunately, I can only support basic WooCommerce functions and not those provided by other plugins.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    I think I might know what the problem is, but I’m not sure how to get around it.

    I counted 21 different sizes, 47 different font colors, and 5 additional customizations. This would create 4,830 different variations, which could cause multiple timeouts while creating the variations and pricing them. You might not even know it’s timing out unless you have access to your system debug.log. (I’m still testing this, but wanted to get back to you since the testing is taking so long.)

    Unfortunately, Markup by Attribute requires all variations to exist in the database. This is how it was designed and works well for people with up to a few hundred variations. There are pros and cons of this approach, and, obviously, the fact that it won’t work on a few thousand variations is a ‘con’. 🙁

    I can only think of two approaches to correct this problem. The first is to use a different plugin; one that updates the price at checkout and doesn’t require you to create every possible variation. I can’t recommend any because I’ve never used any others. I’m sure WooCommerce has one (for a price, of course).

    The other approach, if you want to continue using Markup by Attribute, would be to break the product into multiple products. For instance, regular, glitter, and metallic fonts could be separate products. Then you would just set the base price for the metallic and glitter $1 and $2 higher, respectively, and would not include a markup on the attribute. In fact, I’d recommend making regular, metallic, and glitter fonts different global attributes if you were going to go this route. Of course, then you’d have to change every product that uses these fonts, which may also be an issue.

    Sorry I couldn’t give you a simple answer.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    This is not good. The only thing that I changed in the plugin were the German translations and the level of WordPress and WooCommerce that I tested through. There were no actual code or database changes. So, I am puzzled how anything could have been removed.

    Can you use the [Set regular prices] function on one of your variable products (even if that means setting it to the same price), and then send me a link to the product page? Let me know what I should be seeing compared to what the page is showing.

    If you’d like to take this offline, you can send it to markupbyattribute@mail.com.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    You’re welcome.

    🙂

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Well, I’m certainly not an expert on WooCommerce, but I do have experience in this area.

    To set prices on variable products, you need to use the [Set regular price] function on the Variations tab. Here’s the relevant information from the WooCommerce documentation.

    https://docs.woocommerce.com/document/variable-product/

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    You should be able to update directly from the Plugins page on your WordPress dashboard. If not, you can try the [Download] button on it’s WordPress Plugin page.

    https://wordpress.org/plugins/markup-by-attribute-for-woocommerce/

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    I’m unable to reproduce that. Here, for instance, is a screenshot of a hoodie on my test system, for which I added a 40% up-charge for Blue. There is also a $5 charge for a logo and a 2% discount for X-Small.

    https://i.ibb.co/y06SkJt/Screenshot-2020-03-07-20-12-53.png

    What are the results you are receiving? Is the attribute not taking the markup? Or are the prices not reflecting the markup? Something else?

    I am using plugin version 3.8, with WooCommerce 3.9.3, and WordPress 5.3.2.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Sorry, Markup by Attribute is made specifically for products with multiple variations.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Be my guest.

    Plugin Author Mark Tomlinson

    (@marktomlinson)

    Well, thank you.

    Changing the plugin to calculate the markup in the cart would require a rewrite. The plugin was designed around the concept of changing the price of the product variations instead of doing it in the cart.

    There are pros and cons of each approach. If we change the pricing in the cart, we can do what you are asking, plus we can change the markup without having to recalculate the price of the variations. But, when I wrote it, the owner of the website I wrote it for needed to (1) manage inventory by variation, and (2) retain older markups on some products, while using new markups on newer products. The approach I took lent itself well to his requirements.

    Thanks again for your interest. I hope you can work something out that isn’t too difficult to manage.

Viewing 15 replies - 166 through 180 (of 310 total)