Skip to content

Modify virtuemart shipping plugin -- 2

Project details

I need a new option in the VM Shipping Plugin.

In the backend, in the plugin configuration, I need a checkbox (labeled, i.e. “Stock check”).

When unchecked (default), the plugin works as usual.

When checked:

If the customer, in the cart frontend, selects this shipping method, and click “next”, the plugin has to:

– for every product in the cart, it has to check if there is enough stock number (the stock must be equal or superior than the units asked by the customer) .

– If so, continue as usual to payment.

– If no, it has to show a pop up (in the middle of the screen, size as need for the next content): pre-text (fixed), a list of the products of the cart without enough stock, a post-text (fixed, too) and a “close button).

When customer close the popup (the only thing he can do), he remains in the shipping selection page.

Awarded to:

Project budget: €100 EUR
budget limits: €8-30 EUR
number of bids: 5
average bids: €143

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Awarded to:

Project budget: €100 EUR
budget limits: €8-30 EUR
number of bids: 5
average bids: €143

Project details

I need a new option in the VM Shipping Plugin.
In the backend, in the plugin configuration, I need a checkbox (labeled, i.e. “Stock check”).
When unchecked (default), the plugin works as usual.
When checked:
If the customer, in the cart frontend, selects this shipping method, and click “next”, the plugin has to:
– for every product in the cart, it has to check if there is enough stock number (the stock must be equal or superior than the units asked by the customer) .
– If so, continue as usual to payment.
– If no, it has to show a pop up (in the middle of the screen, size as need for the next content): pre-text (fixed), a list of the products of the cart without enough stock, a post-text (fixed, too) and a “close button).
When customer close the popup (the only thing he can do), he remains in the shipping selection page.

Skills: PHPShopping CartsWebsite Design

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Other freelancers

Responsive image

Augurs Technologies

Leading Tech Solutions Provider at Freelancer

4.9 (353 reviews)

Responsive image

Ismet A.

.NET/Blockchain Senior Developer & Project Manager

3.1 (25 reviews)

Responsive image

Borko R.

Senior full stack developer.

4.8 (17 reviews)

Responsive image

Ravikant P.

Wordpress/FIGMA/Shopify/Graphic Design/HTML/.NET

5.0 (435 reviews)

×

Hello!

Do you have an idea or project. Contact us and we'll get it done for you

× Do you have an idea or project?