Adding Default WooCommerce Shipping to Dokan Vendor Dashboard - php

We are using Dokan Multi-Vendor plugin for WooCommerce and they have their own shipping module which is not the way we need to work the site.
The users can go into the back-end admin and are able to set the shipping correctly, however Dokan offers a simpler dashboard for the vendors which we want it to integrate with this as users can get confused.
The piece that we want to replicate across looks like the below in the WooCommerce back-end. Is there a hook or code that we are able to expose this in a custom dashboard?
I have found where I would like to add the code within dokan/products/product-shipping-content.php. The Vendor Dashboard looks like below and I want it to slot in to the Shipping and Tax section and to update the same
Talking to support from the plugin support is proving fruitless. Is there a way to display the default WooCommerce shipping methods, as shown in 1st image, within a custom vendor dashboard?

I found a way to do this.
Install the dokan and woo commerce on your WordPress website. And for trial create a user in dokan and a trial product from that user. When we will add or edit the product from it, the dokan redirects us to the products in woo commerce where we can edit the product with the features we want. This is the whole solution!!!
See the video I made for this so that you will understand the solution perfectly :- https://vimeo.com/538650792

Related

FooEvents for Woocommerce plugin Issues

I have installed the Fooevents for Woocommerce plugin for booking ticket functionality on my woocommerce site built with the Solala theme.
I created two tickets for one event and tried to show the tickets on the front page, but they are not showing on it. How can I solve it?

Customizing WooCommerce Shipping and Payment text labels on Checkout

While I am using the WooCommerce, I have got stuck in the Checkout page. I researched on these link and found many useful things help me to customize the page a lot:
Customize the text “Total” in WooCommerce checkout page
Customizing checkout fields using actions and filters
WooCommerce Customizer
However, I am still getting stuck in these fields.
If someone know how to customize the text (free plugin, php code), please let me know.
The Shipping methods labels can be directly renamed for each Shipping zone just in WooCommerce settings > Shipping:
"Edit" the Shipping zone, then "Edit" each Shipping method renaming the Label as you like:
Samething For the Payment methods: Go to WooCommerce settings > Checkout:
Select the Payment method to edit in the available tabs.
So no need of coding or plugins… The only thing is that the shipping lables changes will be also in cart page if they are enabled for it.

Woocommerce. Have customers add text to product image

I'm making a new WordPress/woocommerce site for a company which are going to sell tombstones and I need a plugin that can write that last greeting on the product image (tombstone).
Can anyone recommend a plugin that can manage that?
You can use a woocommerce plugin called Product Add-ons It costs
$49.00 for a single licence. Below is a screenshot of how it would look like.

How to export products from Magento to Woocommerce?

I need to move my 100s of products from Magento ver. 1.7.0.2 to WooCommerce 2.1.11.
Is there any way to do this?
I have searched a lot but found nothing on this.
Cart2Cart solutions is the best, though it might cost you a little.
Migrations of following is possible from magento to WooCommerce
Products, product images, product extra fields, product attributes, product variants
Categories, category images
Customers, customer shipping address, customer billing address
Orders, order statuses
Not a fan of this plugin but you can use this plugin for fulfilling your purpose too.
litextension plugin might help you. The reason why i gave plugin as a reference to you is of its prompt Live support which resolved all my queries before even purchasing the plugin.
For you to compare they have also given a comparison link with cart2cart which you need to crosscheck.

Prestashop Product customizer

I have an application which is a T-Shirt customizer which works very good on it's own. But I need to integrate it into prestashop. So after a user uses the application to customize a t-shirt he has to click Add to cart and the product will be added to cart with a custom price and description.
What I need is for this output to be injected into the PrestaShop cart as a custom product with all the custom information and also the generated custom product image to display next to the details in the cart.
So I have the customizer done, I have allready made a custom module and page for Prestashop but I don't know how to integrate it with the cart. My prestashop knowledge is limited.
How can I do this?
When you use this code in CartController.php
$this->context->cart->addTextFieldToProduct($this->id_product, $r["id_customization_field"], Product::CUSTOMIZE_TEXTFIELD, Tools::getValue('product_description'));
then you only save your custom-description in a customization field. But how do you change the price for this customization?
Of course you have to override getPriceStatic method in product.php file to recalculate the custom price. But there is also another problem: what if the customer add same product into the cart but with a different customization and also a different custom price?
Different customization-text is handeled by your used method and is therefor added correctly to the cart, but the different price calculation just overwrites the first custom price because both customizations are associated with the same product.
I did something similar. Here's how I dealt with it.
My module works on its own. I stored customization in the database via object model from the customizer module. Each customization have an ID.
Prestashop offers customization for each products. I hide it from the customer on the prodct page but I use it to store the ID of the customization. That way, you can see in the cart the customization ID for each customized product.
I used _addCustomization method in the Cart object to store the customization ID. Here's a small example:
$context = Context::getContext();
$result = $context->cart->_addCustomization($id_product, $id_product_attribute, 1, 1, $id_customization, 1);
Hope I'm clear enough.
Does this help you out?

Categories