News:

Support the VirtueMart project and become a member

Main Menu

Shipment selection page

Started by cristina, May 18, 2012, 18:40:06 PM

Previous topic - Next topic

cristina

Hi there,
I'm developing a site with VM 2.0.6 and I would like to modify the shipment selection page.
Unfortunately the select_shipment.php simply uses an array ($this->shipments_shipment_rates) containing all the information I would like to modity.
I spent some time searching for the php responsible of filling that array, but I did non find it.

Does someone know the name and location of the module that fills the shipments_shipment_rates array?

Thanks

Cristina
VM 4.0.22 10864 - Joomla! 4.3.2 - php 8.0.27

spyderwebdesign

#1
Quote from: cristina on May 18, 2012, 18:40:06 PM
Hi there,
I'm developing a site with VM 2.0.6 and I would like to modify the shipment selection page.
Unfortunately the select_shipment.php simply uses an array ($this->shipments_shipment_rates) containing all the information I would like to modity.
I spent some time searching for the php responsible of filling that array, but I did non find it.

Does someone know the name and location of the module that fills the shipments_shipment_rates array?

Thanks

Cristina

Cristina,

Did you ever find out how shipments_shipment_rates is defined? I have the exact same question as you.

I see that the istraxx.xml file has param for a lot of the attributes that get exported in $shipments_shipment_rates

Roadrunner13

Maybe too late but...

File : vmpsplugin.php
line : 777 (for me)
$html = '<input type="radio" name="' . $pluginmethod_id . '" id="' . $this->_psType . '_id_' . $plugin->$pluginmethod_id . '"   value="' . $plugin->$pluginmethod_id . '" ' . $checked . ">\n"
         . '<label for="' . $this->_psType . '_id_' . $plugin->$pluginmethod_id . '">' . '<span class="' . $this->_type . '">' . $plugin->$pluginName . $costDisplay . "</span></label>\n";