Custom Edit basket.php

Custom Edit basket.php

Postby admin@.....in » Wed May 09, 2012 3:38 pm

hiii
i m installing one more module on virtuemart
which have a installation hack on basket.php also

i attached basket.php of that module

please edit it according to OPC

or provide me detailed instruction to edit this file

Thank you
Attachments
basket.php.zip
(4.62 KiB) Downloaded 713 times
admin@.....in
 
Posts: 3
Joined: Thu Apr 26, 2012 6:53 am

Re: Custom Edit basket.php

Postby admin » Thu May 10, 2012 2:58 pm

Hello, the only relevant modification of the file is at line 115 (your file) which can be inserted into OPC cart file in /administrator/components/com_virtuemart/html/basket.php at line 375 - latest release

right after:
Code: Select all
."</strong></a><br />"


add:
Code: Select all
.$ps_product->get_field($cart[$i]["product_id"], "colortitle").": ". $ps_product->get_field($cart[$i]["product_id"], "color1")."<br />"


The product thumb is generated by OPC automatically depending on selected theme, so there is no need for the thumb modification.
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm

Re: Custom Edit basket.php

Postby admin@.....in » Fri May 11, 2012 9:19 am

thank you :)
admin@.....in
 
Posts: 3
Joined: Thu Apr 26, 2012 6:53 am


Return to One Page Checkout for Virtuemart 1.1.x