pleaseee help me for hide at radio box option which I marked in red at the pic attach 5
Attachments
attach5.png (133.57 KiB) Viewed 61 times
next i got an extension from other members at the point... they give me refference about free ocmod Remove Product Option Price from url : https://www.opencart.com/index.php?rout ... n_id=42059. but i got result error like pic in the belowSatya - Safiramedia wrote: ↑Wed Jun 22, 2022 3:13 pmpleaseee help me for hide at radio box option which I marked in red at the pic attach 5
Attachments
attach6-error-not-work.png (33.63 KiB) Viewed 52 times
Hi Satya - Safiramedia, feel free to drop us an email for a quick estimate: info@antropy.co.uk
For quick, professional OpenCart support please email info@antropy.co.uk
Wow so hard....
catalog/view/theme/default/template/product/product.twig
Change this
To this
You own me 10.000 euro

catalog/view/theme/default/template/product/product.twig
Change this
Code: Select all
<div class="form-group{% if option.required %} required {% endif %}">
<label class="control-label">{{ option.name }}</label>
<div id="input-option{{ option.product_option_id }}">
{% for option_value in option.product_option_value %}
<div class="radio">
<label>
<input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />
{% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %}
{{ option_value.name }}
{% if option_value.price %}
({{ option_value.price_prefix }}{{ option_value.price }})
{% endif %}
</label>
</div>
{% endfor %}
</div>
</div>
Code: Select all
<div class="form-group{% if option.required %} required {% endif %}">
<label class="control-label">{{ option.name }}</label>
<div id="input-option{{ option.product_option_id }}">
{% for option_value in option.product_option_value %}
<div class="radio">
<label>
<input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" />
{% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {% endif %}" class="img-thumbnail" /> {% endif %}
{{ option_value.name }}
{% if option_value.price %}
{% endif %}
</label>
</div>
{% endfor %}
</div>
</div>




My Converted Modules | Opencart Upgrade Service | Free Dashboard Maps | Buy me a beer | My Custom OC 3.0.3.8
your script doesn't work dude... price still showxxvirusxx wrote: ↑Wed Jun 22, 2022 8:21 pmWow so hard....
catalog/view/theme/default/template/product/product.twig
Change thisTo thisCode: Select all
<div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label">{{ option.name }}</label> <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %} <div class="radio"> <label> <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" /> {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {{ option_value.price_prefix }} {{ option_value.price }} {% endif %}" class="img-thumbnail" /> {% endif %} {{ option_value.name }} {% if option_value.price %} ({{ option_value.price_prefix }}{{ option_value.price }}) {% endif %} </label> </div> {% endfor %} </div> </div>
You own me 10.000 euroCode: Select all
<div class="form-group{% if option.required %} required {% endif %}"> <label class="control-label">{{ option.name }}</label> <div id="input-option{{ option.product_option_id }}"> {% for option_value in option.product_option_value %} <div class="radio"> <label> <input type="radio" name="option[{{ option.product_option_id }}]" value="{{ option_value.product_option_value_id }}" /> {% if option_value.image %} <img src="{{ option_value.image }}" alt="{{ option_value.name }} {% if option_value.price %} {% endif %}" class="img-thumbnail" /> {% endif %} {{ option_value.name }} {% if option_value.price %} {% endif %} </label> </div> {% endfor %} </div> </div>
![]()
![]()
![]()
![]()
Refresh Ocmod modifications, clear theme cache, sass cache
My Converted Modules | Opencart Upgrade Service | Free Dashboard Maps | Buy me a beer | My Custom OC 3.0.3.8
Who is online
Users browsing this forum: paulfeakins and 5 guests