News:

Looking for documentation? Take a look on our wiki

Main Menu

about productDisplayShipments

Started by lipes, April 04, 2012, 03:06:26 AM

Previous topic - Next topic

lipes

I'm setting up my template in product details...

I see this code but i dont understand what this could do, because i cant see any text in front end of product details page about Display Shipments...
if (is_array($this->productDisplayShipments)) {
    foreach ($this->productDisplayShipments as $productDisplayShipment) {
echo $productDisplayShipment . '<br />';
    }
}


It is necessary to do something anywhere else to activate this function?
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Otto0815

Yes, i've seen this,too and was also wondering what this does.......

Could someone explain?Is it to show the shipping cost's for this product?

If so, how to enable (it's an very interessting functioun and would save me a lot of time)..

lipes

maybe its to display the cost price of shipment in product detail view (if the user is registered .. he see's the postal code and could give the value of that shipment).. its a great feature!!
but dont know how to enable this too... lol :)
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

PRO

Quote from: lipes on April 04, 2012, 19:21:48 PM
maybe its to display the cost price of shipment in product detail view (if the user is registered .. he see's the postal code and could give the value of that shipment).. its a great feature!!
but dont know how to enable this too... lol :)

Its for display just like u think, there will have to be a function for display setup in whatever payment,. and shipping method u use

I see in the new klarna payment method it has a function for it

function plgVmOnProductDisplayPayment($product, &$productDisplay) {}


lipes

#4
Hummmm...  nice! :)

So my operation will be by having a shop cart that orders will be sent by users request. Then we saw if we got the product the user want and then he/she will pay by any external bank transfer... (only).

I'm using the 'standard' Payment Method and the 'weight_countries'  Shipment Method its possible to configure that, or not yet.. for now?
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Otto0815

Quote from: lipes on April 04, 2012, 03:06:26 AM
I'm setting up my template in product details...

I see this code but i dont understand what this could do, because i cant see any text in front end of product details page about Display Shipments...
if (is_array($this->productDisplayShipments)) {
    foreach ($this->productDisplayShipments as $productDisplayShipment) {
echo $productDisplayShipment . '<br />';
    }
}


It is necessary to do something anywhere else to activate this function?

Are there any news on this topic??It's a very interesting funktion

lipes

nope :-\
i dont have more information about  product Display Shipments ... i am waiting too
VM V. online: J2.5.14 | VM 2.0.20a | SQL 5.1.70 | PHP 5.3.25

Otto0815