News:

Support the VirtueMart project and become a member

Main Menu

Drop Down select for shiping methods!

Started by andrai2, August 25, 2016, 22:07:47 PM

Previous topic - Next topic

andrai2

Hello!

I am a developing a new virtuemart site, i have client who wants to deliver products via post offices in my country:

The problem ir that I have aproxemetly 50 shippment methods in list and it creates a long, long list in shippment methods (these 50 shippment  methodes ar post offices where client can get his product)

Is it possible some have to make Drop Down select for shiping methods!...?

May be there is some shipment plugin to do that..?

Joomla 3.6
VirtueMart 3.0.16

<select>
  <option value="Shipment1">Shipment1</option>
  <option value="Shipment2">Shipment2</option>
  <option value="Shipment3">Shipment3</option>
  <option value="Shipment4">Shipment4</option>
</select>
 

GJC Web Design

you need to recode the display of the various methods into a select.. look at how the ship methods are displayed in the administrator\components\com_virtuemart\plugins\vmpsplugin.php

protected function getPluginHtml ($plugin, $selectedPlugin, $pluginSalesPrice)

this can be over ridden in a ship plugin

or code a plugin that is singly configurable for all 50 methods and displays the list as a select

do u have no automation? e.g. if the shipto postcode is xxx it shows the nearest postoffice?

What country is this?   Latvia?

I have a fully automated ship plugins for Omniva & Post24 that give a dropdown list of collection points (offices)

You can test it on http://test.gjcwebdesign.com/joomla336


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

andrai2

Well basicly this is exatly what I need drop down with post offices. Yes country is Latvia! And Ominiva and post 24, has a lot off, pick up places to pick up the product, i have not yet made automation

Well i look at administrator\components\com_virtuemart\plugins\vmpsplugin.php and via fire bug try make some changes to get the drop down, but i am far from custom php  expert to make custom changes as this

I dont know if thats possible, maybe you could share these php modified files via private messege or public..? So that i could uploud via ftp and makedrop down possible...

Respecting your custom work, as i am making shop for my client, we can pay some symbolic money, but it is low budget project.

Are you Latvian...?

GJC Web Design

Latvian no...

but the Ominiva and post 24 shipping plugins are both standard installable VM shipping plugins that are for sale

PM or email me if interested
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

These plugins have now been upgraded for Joomla 4 /VM4
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