News:

Support the VirtueMart project and become a member

Main Menu

Shipping per product/Add is as attribute/Add as part of base price?

Started by kden, May 04, 2015, 21:45:19 PM

Previous topic - Next topic

GJC Web Design

Quoteold VM2 site with VM Shipment V3 plugin

which exact plugin are you referring to?

I know the VM1.1 thing that basically had a table that the rates were looked up from for each sku

e.g.
`id` int NOT NULL AUTO_INCREMENT, ".
         "`product_sku` varchar(64) NOT NULL, " .
         "`base_amount` decimal(10,2) NOT NULL, ".
         "`quantity` int NOT NULL, " .
         "`additional_charge` decimal(10,2) NOT NULL,

was there a vm2 version?

There seems to be a few floating around .. e.g.  http://attwebdev.com/att_projects/vms/documentation/  and one from http://www.omkarsoft.com (Virtuemart VM Shipping v3 Component)  -- but neither are J3/VM3 - both say they will not be upgrading

Contact me if you would like to discuss the possibilities..  :)

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

misterpo

Hey GJC Web Design,

So what is your proposal for developing such a plugin compliant with JM3/VM3 ?

GJC Web Design

well .. you haven't answered my question..  which one of the earlier ext. are you referring to?

If there is enough interest then I would think about upgrading and selling
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation


GJC Web Design

Ok -- if u want to discuss this further then PM or email me

Cheers
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

misterpo

Anybody here interested in sharing the cost of such a development ?

stargazer1682

I contacted the original developer of the original VM Shipping Module over the summer; and he said he could do a Virtuemart 3 version, which would also add the same GUI for foreign shipping as it did for domestic, for $300.  That was well outside my budget to spend; however the original developer was willing to be flexible on the price.

I'm open to options, but in terms of financial commitments, I'm limited.  I would need to run any costs past my client, and the amount would need to be fairly nominal.  This is where I've been searching for alternatives, like adapting the shopper group to define the distinction between shopper countries; and then just building the shipping prices into the final sale price....

stargazer1682

I came up with a work around for this, though there's one aspect I still need to address, if anyone has any thoughts.  Under Tax & Calculation Rules, I created a new Tax rule for each shipping amount. For each rule I set the "Type of Arithmetic Operation" to Tax per product and then set the value to the amount I wanted that rule for; and gave an descriptive name for what it is - the tax rule for shipping rate of $6 was called $6 Shipping, the $10 one was $10 shipping and so on; you can use whatever convention you want.  You then go in to each product and from the drop down menu next to base price you select the rule you want  applied to each product for shipping.
The next step is a hack of the code.

In /components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini

Find
COM_VIRTUEMART_CART_SUBTOTAL_TAX_AMOUNT="Tax"
Change only the part in quotation marks ("Tax") whatever you want the column to say, "Shipping" or "S&H", etc. Make sure whatever you want to change the text to appears inside the quotes.

Also find
COM_VIRTUEMART_PRODUCT_TAX_AMOUNT="Tax amount: "
Edit the text in the quotes here as well. Where the first one is the column that appears in the shopping cart, this one appears in certain instances, like as part of the short description when listed by category. 

There are other lines in this file with labeling lines referring to tax that you may or may not need to change, depending on what you what turned on to appear in the cart; so you should do a word search for the word tax, and using use your discretion whether or not to change it.  I may likely go back through and do that too, just to be on the safe side.
And of course, save changes and re-upload, or however you chose to edit those types of files.
Done this way, each product ends up showing it's own shipping total separately, which I'm okay with; though I am going to look further into at what point it will show the grand total of the "shipping" (formerly tax) amount, and the product prices together; which it hasn't done yet, despite the options to show that being enabled.

The final part to this I just need to resolve, is to "turn off" the original shipment method line(s); so that they are neither necessary or displayed.  I don't want to just create a $0 shipping method, as that would be confusing, obviously. This is where, if anyone knows how to do that, it'd pretty much be set and ready to go.

I'm sure the weight based shipping method could be edited and adapted as an alternative way of applying tax, if that were needed in addition to flat shipping.
What would be even better would be to find a way of copying all the necessary code, et al, for the Tax & Calculation Rules, and find a way to rename it and incorporate the basic functions as a shipping method, adding that extra drop down box too, to each product, configuring shipping that way.  Perhaps someone involved with the Virtuemart project would know where all of that would be, and how that would work; and ideally wouldn't be as huge of undertaking as it might be for others...

GJC Web Design

QuoteThe next step is a hack of the code.

In /components/com_virtuemart/language/en-GB/en-GB.com_virtuemart.ini

Use the native Joomla Language over ride system

QuoteThe final part to this I just need to resolve, is to "turn off" the original shipment method line(s); so that they are neither necessary or displayed.  I don't want to just create a $0 shipping method

you will need one..  then just hide with css

QuoteWhat would be even better would be to find a way of copying all the necessary code, et al, for the Tax & Calculation Rules

I will be completing a per product shipping component shortly and offering for sale
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kden

Has anybody ever created or found one of these by sku shipping plugins? We are revisiting to update and would still like to find one.

GJC Web Design

yes.. I have developed one.. haven't had time to release but the start of documentation attached

email me if u want to go further..
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

cjcatalano

So this doesn't install properly, so I moved the folder into the VM plugins directory on the server. I had joomla do a "Discover" and complete the installation. I can create a new Shipping Method in VM with Proship, but none of the changes I make to the configuration get saved. It just reverts back to all empty fields. If this worked it would be quite useful.

Quote from: PRO on November 09, 2015, 20:43:25 PM
serious?

http://forum.virtuemart.net/index.php?topic=100630.msg455995#msg455995


THEN: set your shipping rate 1 to   1-50000   lbs       $1 per pound.

THEN:
IN the product in the weight field , add the dollars you want to charge

this was actually 1 of the oldest methods to charge shipping per product

prakash.sahu

Hello

We would like to inform you that we have updated our Joomla Virtuemart Shipping Cost Per Product "https://store.webkul.com/Joomla-Virtuemart-Custom-Shipping-Cost-Per-Product.html". Cost calculations updated in case of multiple products in cart. Now cost will be calculated considering each product as an individual cost/product, this condition was missing previously.


Thank you

Regards
Webkul