bitbagcommerce / syliusproductbundleplugin Goto Github PK
View Code? Open in Web Editor NEWThis plugin allows you to create new products by bundling existing products together.
Home Page: https://bitbag.io/
This plugin allows you to create new products by bundling existing products together.
Home Page: https://bitbag.io/
@patrick477
Hi! Do I understand correctly that your plugin allows you to create a bundle-type product that consists of other products? What should I do to display the required data in the product variant field?
Thanks!)
Hello,
I have installed “SyliusProductBundlePlugin” in these versions:
When I create a bundle, the data of the product variants corresponding to that bundle are not saved in the database.
In addition, the bundle’s tab disappear by itself after submitting the form.
Hello,
I have installed “SyliusProductBundlePlugin” in these versions:
sylius-v1.10/PHP7.4/SF4.4
sylius-v1.11/PHP8.1/SF5.4.
I use these plugin to do a list of products, the plugin is working perfectly in the BO but when I try it in the front-end product show, it doesn’t show the list of products for this product bundle.
Could you please help me solve this issue?
When visiting /admin/inventory
, I get the following error message:
Undefined method 'createInventoryListQueryBuilder'. The method name must start with either findBy, findOneBy or countBy!
Hi there! Could you tag a release with the updates for Sylius 1.9?
When I tried to install this plugin on a clean Sylius 1.7 installation and following the steps on the documentation I got the following error when
Unrecognized option "links" under "sylius_grid.grids.sylius_admin_product.actions.main.create". Available options are "enabled", "icon", "label", "options", "position", "type".
Also, could someone assist me with the doctrine XML configuration?
Also, it would be very helpful that you add the the missing file's name comment on the top of the file snippets ( bundles.php, product & itemOrder entities & XMLs)
Thanks!
Hi, I tried to install the package on Sylius v1.9.0, but got this message:
After using -W flag, installation is successful, but I no longer have the "src/Kernel.php" file, just 2 directories: "src/Entity" and "src/Migrations" so now I have to install Sylius from scratch.
Does anyone know why is this happening?
PS: I have the same problem when I try to install Sylius ShopAPI plugin.
Windows 10 Pro
Sylius: 1.9.0
Composer: 2.0.13
PHP: 7.4.9
Thanks!
Hello,
Is there any plan to update to Sylius 1.12 ?
I'm trying to install the CMSPlugin and i get an doctrine error, making a bin/console doctrine:schema:validate i get the following error:
[FAIL] The entity-class BitBag\SyliusProductBundlePlugin\Entity\ProductBundleOrderItem mapping is invalid:
* The association BitBag\SyliusProductBundlePlugin\Entity\ProductBundleOrderItem#orderItem refers to the inverse side field App\Entity\Order\OrderItem#productBundleItems which does not exist.
I review the src\Entity\OrderItem class that have the extension and i see that the protected value is:
/**
* @var Collection|ProductBundleOrderItemInterface[]
*
* @OneToMany(
* targetEntity="BitBag\SyliusProductBundlePlugin\Entity\ProductBundleOrderItemInterface",
* mappedBy="orderItem",
* cascade={"ALL"}
* )
*/
protected $productBundleOrderItems;
I will do some tests, but it don't allowme to install other plugins.
Step to reproduce
Hello,
Is this plugin still active?
If not, do you know an alternative Sylius plugin to manage sets of products?
Thanks
Hello guys,
I want to install this package, but am unable to do so with the latest version because of this part added to composer.json
:
"conflict": {
"doctrine/orm": "^2.10.0"
},
I currently have version 2.11.1
of doctrine/orm
installed and I want to avoid the downgrade to 2.9
.
Any way to know why this package conflicts with doctrine/orm:^2.10.0
?
When looking through the Symfony Profiler for an unrelated issue, I noticed an error in the Entities Mapping section of the Doctrine pane:
The association BitBag\SyliusProductBundlePlugin\Entity\ProductBundleOrderItem#orderItem refers to the inverse side field App\Entity\Order\OrderItem#productBundleOrderItems which does not exist
When I set up inventory tracking for the bundled products, the inventory amount is not updated after the bundle gets ordered and shipped.
Affected SyliusProductBundlePlugin version: v2.2.0
Sylius version: v1.12.5
PHP version: 8.0.23
When using the API-route [PATCH] /api/v2/shop/product-bundles/{id}/add-to-cart
with the following body (as stipulated by AddProductBundleToCartCommand
):
{
"orderId": 1,
"productCode": "example-bundle",
"quantity": 1
}
I get the following response:
400 Bad Request
{
"code": 400,
"message": "Cannot create an instance of \"BitBag\\SyliusProductBundlePlugin\\Command\\AddProductBundleToCartCommand\" from serialized data because its constructor requires parameter \"orderId\" to be present."
}
The serialization file AddProductBundleToCartCommand.xml specifies two fields to be deserialized: orderToken
and quantity
. But the AddProductBundleToCartCommand requires orderId
, productCode
, and quantity
.
While the serialization file is wrong, it proposes a better way to define the command-object. Since the route already contains an ID for the product-bundle, the productCode
field is not necessary. orderToken
is also a better way to associate the add of a bundle to a cart as that follows the convention of Sylius checkout API.
orderId
, productCode
, and quantity
is associated with the group 'shop:product_bundle:add_to_cart'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.