Shopping cart - wrong way

ddr's picture
ddr
Mon, 03/21/2016 - 20:10
#1
Shopping cart - wrong way

Image title

khoa's picture
khoa
Mon, 03/21/2016 - 20:51

Hello,

Please open views-view-table--commerce-cart-form--default.tpl.php file(sites/all/themes/md_orenmode/template/views/commerce/cart-page). Then go to line 42 then replace the code

<?php if($field == 'line_item_title') : ?><?php print $content; ?><?php endif; ?>

by

<?php if($field == 'line_item_title') : ?><a href="<?php print drupal_get_path_alias('node/'.$node->nid.'') ?>"><?php print strip_tags($content) ; ?></a><?php endif; ?>

Thanks!

ddr's picture
ddr
Mon, 03/21/2016 - 21:05

Thank you very much!

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.