Author Topic: Drop Down select for shiping methods!  (Read 1957 times)

andrai2

  • Jr. Member
  • **
  • Posts: 85
Drop Down select for shiping methods!
« on: August 25, 2016, 22:07:47 pm »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10580
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Drop Down select for shiping methods!
« Reply #1 on: August 25, 2016, 22:48:51 pm »
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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • Jr. Member
  • **
  • Posts: 85
Re: Drop Down select for shiping methods!
« Reply #2 on: August 26, 2016, 09:19:45 am »
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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10580
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Drop Down select for shiping methods!
« Reply #3 on: August 26, 2016, 12:09:19 pm »
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
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 10580
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.8.8
Re: Drop Down select for shiping methods!
« Reply #4 on: July 06, 2022, 15:34:32 pm »
These plugins have now been upgraded for Joomla 4 /VM4
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 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