OC v1.5.3.1
Theme Shoppica2 v2.1.3
Hi,
I’d like to include a QRCODE in each product page.
I’ve found a vqmod extension from MrTech at OC’s forum which would do that for me… but it doesn’t work with Shoppica2 and the author is not too keen on adapting his mod for this theme.
Although I don’t program PHP, I’d want to give it a try and modify this vqmod to create my own vqmod for the Shoppica2 theme. Having seen MrTech’s vqmod it doesn’t seem rocket science… HOWEVER, I’m a bit puzzled on how to know what to edit at “catalog\view\theme\shoppica2\template\product\product.tpl”
Any hint/advice?
Thanks.
|
|
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
|
|
Yep, thanks… I’ll play around with it because I notice now that the problem is going to be WHERE to put it as there’s not much room left if one activates the sidebar!!!.
I’ve been trying to fit it ‘here’ (see image) but I don’t have luck pintpointing the right spot in the source code. I believe it should be between line 82 () and line 83 () but if so, I can’t seem to get the vqmod to work.
Suggestions??.
|
|
Hi,
You can try to replace:
<search position="before"><![CDATA[<?php if ($product_condition) { ?>]]></search>
with:
<search position="before"><![CDATA[<?php if ($images && $tbData->common['product_gallery_position'] == 'under_preview'): ?>]]></search>
Best,
ThemeBurn team
|
|
Perfect. Thanks!.
[CLOSED]
|
|
Hi Enric,
Can you upload the mod vqmod?
|
|
i solved myself, use this code to place QR code just beside the price:
<search position="after"><![CDATA[<div id="product_price" class="s_price_holder s_size_4 s_label">]]></search>
-
This reply was modified 4268 days ago by manmancai.
-
This reply was modified 4268 days ago by manmancai.
|
|
ops… it become smaller if use special price… headache
|
|