VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: cristina on May 18, 2012, 18:40:06 PM

Title: Shipment selection page
Post by: 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
Title: Re: Shipment selection page
Post by: spyderwebdesign on October 12, 2012, 21:17:28 PM
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
Title: Re: Shipment selection page
Post by: Roadrunner13 on August 20, 2013, 02:01:14 AM
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";