i'm not the experienced developer like most of you that's why i'm trying to get a little bit help from here. I'm managing a small online store from my wife and got a problem with product variants (sizes) because they're not showing up on the product detail page (https://lappya.de/produkt/der-klassiker-handtasche-mit-gesteppte-muster). I think the problem is somewhere in the template because i have the two files varations.php & variation-add-to-cart-button.php in the woocommerce folder.
My question:
1. Do you perhaps have any idea where the product variants are defined in the template?
2. Do you have any idea what code needs to be integrated to display the variants?
Thank you
Here is an explanation for your problem:
Step 1: please follow the this step http://prntscr.com/g92g2s by selecting product as variable.
Step 2: Select variation for the attribute http://prntscr.com/g92hyd
If you already did this please let me know the name of template you are using currently so I will provide more information about it.
Thanks.
Related
I updated WP to 6.0 and Woocommerce to 6.6.1 this morning, i initially noticed a lot of problems, after debugging for hours, i noticed that the main issue was that all products are retrieved as Simple product when i var_dump() in Front, but when i check the same product in BO, it shows as Variable Product, anyone have an idea why? if not, am trying to at least check in the Database to make sure it is a Variable product and not simple, but i don't know how Woocommerce stores this information.
Thanks
I have a problem. I'm using Woocommerce plugin and I never edited any default file and there's something wrong with the prices shown. I upload the product via the official API with no problems. If I load the products via browser, it shows the wrong prices.
But if I open the product to edit it, it shows the right price.
I don't understand why this is happening as I've never bothered touching any default core files. I'd appreciate it so much if anybody could help me solve this. Thank you very much.
Did you try putting the price like: 15655.00?
In Woocommerce Settings you can set the currency options where the separators are already handled:
I am building a custom tool where the user can play around with the product (customize parts and add colors) and then go ahead and buy. I have so far built this in PHP but would like to integrate it with my Magento store. Is there a way I can connect this to Magento so that the product can be passed through Add to Cart etc?
Thanks.
Magento already has a support for this.
Check the configurable products, or the Custom options tab in the product admin edit page. You can also use bundle products.
If none of these fit your needs then you may want to rephrase your question and explain what exactly do you need.
I apologize if this seems to be a very naive question..but i've just learnt Symfony2 and trying to learn the workings of Sylius.
When I add a product to the cart it seems to always return the error :
Submitted form is invalid
I have searched the solution to this but nothing seems to be documented (or have I
missed it ??)
I also commented the validation section but still get the same error. Please help and thanks in advance.
It has something to do with having options on products. I had the same error and looking through the profiler at the Doctrine info there was an error for 2 of the objects that were being persisted to the database. Specifically, it couldn't map Sylius\Bundle\AssortmentBundle\Entity\CustomizableProduct or Sylius\Bundle\AssortmentBundle\Entity\Variant\Variant.
To fix it I had to Generate Variants of the product which is on the product details page in the admin area. Without having variants to add to the cart, it couldn't choose a specific type of the product to add to the cart.
I feel like this should produce a better error, especially when running the app in dev mode.
I need the add to cart form on each product to display separate quantity fields so items of different attributes can be added at the same time. This is for a photography site, so it makes sense for the customer to order 2 6x4 prints and one 10x8.
Right now the add to cart form is something like this:
Here is a mockup of what I want to have:
I have no idea which hooks to use, or if it's even possible to add multiple product variants in one POST. Is anyone familiar enough with the Ubercart api to tell me how I can go about doing this.
I found this googling for a solution to the same problem. Unfortunately I couldn't find anything.
So I made a patch and sent it in to an issue with a similar request - http://drupal.org/node/782154#comment-3925090
The patch isn't tested very well yet, but I will be going live with it or a subsequent solution in a couple of weeks.
Hope it helps.