[/quote]
No but if you have vqmod installed i can possibly make up a vqmod file for you
[/quote]
thx for answer, buat i found a module for 3.0.2.0 in marketplace, and its worked
sorry, maybe u can help for my problem in my thread viewtopic.php?f=104&t=204216
thx
No but if you have vqmod installed i can possibly make up a vqmod file for you
[/quote]
thx for answer, buat i found a module for 3.0.2.0 in marketplace, and its worked
sorry, maybe u can help for my problem in my thread viewtopic.php?f=104&t=204216
thx
Hi,
I'm using opencart 3.0.2.0 and i want to remove price option from Products, category and search.
i have vqmod installed , can u help me.
thanks n advance.
I'm using opencart 3.0.2.0 and i want to remove price option from Products, category and search.
i have vqmod installed , can u help me.
thanks n advance.
HiPost by cyclops12 » Wed May 09, 2018 1:55 am
indramb wrote: ↑
Tue May 08, 2018 1:28 pm
sorry, i want to ask if this can use for opencart 3.0.2.0
thx
No but if you have vqmod installed i can possibly make up a vqmod file for you
Will you be able to make vqmode file with removing options price, please
Thank You
Code: Select all
<modification>
<name>Remove Option Price In Product Page</name>
<version>1.0</version>
<code>remove-option-price-in-product-page</code>
<author>cyclops</author>
<file path="catalog/view/theme/*/template/product/product.twig">
<operation error="skip">
<search><![CDATA[
{% if option_value.price %}
]]></search>
<add position="before"><![CDATA[
<!--
]]></add>
</operation>
<operation error="skip">
<search><![CDATA[
( {{ option_value.price_prefix }}{{ option_value.price }} )
]]></search>
<add position="after" offset="1"><![CDATA[
-->
]]></add>
</operation>
</file>
</modification>
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Hixxvirusxx wrote: ↑Tue Jan 14, 2020 2:34 amCode: Select all
<modification> <name>Remove Option Price In Product Page</name> <version>1.0</version> <code>remove-option-price-in-product-page</code> <author>cyclops</author> <file path="catalog/view/theme/*/template/product/product.twig"> <operation error="skip"> <search><![CDATA[ {% if option_value.price %} ]]></search> <add position="before"><![CDATA[ <!-- ]]></add> </operation> <operation error="skip"> <search><![CDATA[ ( {{ option_value.price_prefix }}{{ option_value.price }} ) ]]></search> <add position="after" offset="1"><![CDATA[ --> ]]></add> </operation> </file> </modification>
Thank you but for some reason is removing all my options with this modification.
Any solution
Yep...code alignment in 3.x is.....
You can edit directly in the file and change:
To
Or wait to change that ocmod file...
You can edit directly in the file and change:
Code: Select all
{% if option_value.price %}
({{ option_value.price_prefix }}{{ option_value.price }})
{% endif %}
Code: Select all
<!--{% if option_value.price %}
({{ option_value.price_prefix }}{{ option_value.price }})
{% endif %}-->
Or wait to change that ocmod file...
Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer
Where do I locate that code?Post by xxvirusxx » Tue Jan 14, 2020 6:29 pm
Yep...code alignment in 3.x is.....
You can edit directly in the file and change:
Code: Select all
{% if option_value.price %}
({{ option_value.price_prefix }}{{ option_value.price }})
{% endif %}
To
Code: Select all
<!--{% if option_value.price %}
({{ option_value.price_prefix }}{{ option_value.price }})
{% endif %}-->
Or wait to change that ocmod file...
Thanks
https://github.com/opencart/opencart/wi ... art-Basics
catalog/view/theme/default/template/product/product.twig
catalog/view/theme/default/template/product/product.twig
xxvirusxx wrote: ↑Tue Jan 14, 2020 2:34 amCode: Select all
<file path="catalog/view/theme/*/template/product/product.twig">
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
by mona wrote: ↑Wed Jan 15, 2020 5:36 amhttps://github.com/opencart/opencart/wi ... art-Basics
catalog/view/theme/default/template/product/product.twig
xxvirusxx wrote: ↑Tue Jan 14, 2020 2:34 amCode: Select all
<file path="catalog/view/theme/*/template/product/product.twig">
Thank you for help.
I found easy install solution for that problem and is working perfect with any version.
click here
Who is online
Users browsing this forum: Google [Bot] and 410 guests