Post by mam_sm » Fri Apr 01, 2016 11:08 pm

Hello all,

This is a free VQmod, as give back to this great the community:)
It's going to add product image on cart in checkout confirmation step.

If you do it manually it is going to work perfectly. I have made VQmod for this, but it did not work ??? So if any dev helps, it would be appreciated

Test on Opencart 1.5.6.4 on the original Opencart checkout

Thanks and enjoy it :)

Attachments


Newbie

Posts

Joined
Mon Feb 04, 2013 3:59 am

Post by IP_CAM » Sat Apr 02, 2016 12:16 am

unfortunately, to my knowledge, this will NOT work (Samples):

Code: Select all

	<search position="after"><![CDATA[<?php endif; ?>
      <tr>]]></search>

Code: Select all

		<search position="after"><![CDATA[<thead>
      <tr>]]></search>

Code: Select all

<search position="replace"><![CDATA[$this->data['products'] = array();

			foreach ($this->cart->getProducts() as $product) {]]></search>
<SEARCH_WHATEVER..><![CDATA[1234567890]]></search>
must be a ONE LINER, with 'left-right white-space free' Limitations, at best, to make sure.

You would have to use someting like this, to place it after the <tr> TAG:

Code: Select all

<search position="after" offset="2"><![CDATA[<?php endif; ?>
Download/Install this Tool, to find out, how this 'OFFSET' Stuff works.
vQModerator
http://www.opencart.com/index.php?route ... on_id=8247

Good Luck ;)
Ernie

PS: my Solution to this, I did it also in hard-coded Version
I could not test your Mod anyway, I have no <?php endif; ?> in my xx.tpl File... :D

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by IP_CAM » Sat Apr 02, 2016 1:24 am

And, just to mention it! ;)
Ernie

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 2 guests