Skip to main content

cart_btn_before where is this?

More
12 years 1 month ago - 12 years 1 month ago #167456 by chalomot2015
-- url of the page with the problem -- : tsibur-news.com
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 3.2
-- PHP version -- : +
-- Browser(s) name and version -- : +
-- Error-message(debug-mod must be tuned on) -- : +

<span class="cart_btn_before"></span>


i need to change it and the button was be to show better in rtl lang

if i change it from:
Code:
<span class="cart_btn_before"></span><input type="submit" class="btn button hikashop_cart_input_button cart_btn" name="add" value="Add to cart7" onclick="var field=document.getElementById(&#39;hikashop_product_quantity_field_1&#39;);if(hikashopCheckChangeForm(&#39;item&#39;,&#39;hikashop_product_form&#39;)){ return hikashopModifyQuantity(&#39;17&#39;,field,1,&#39;hikashop_product_form&#39;,&#39;cart&#39;); } else { return false; }">


to:
Code:
<input type="submit" class="btn button hikashop_cart_input_button cart_btn" name="add" value="Add to cart7" onclick="var field=document.getElementById(&#39;hikashop_product_quantity_field_1&#39;);if(hikashopCheckChangeForm(&#39;item&#39;,&#39;hikashop_product_form&#39;)){ return hikashopModifyQuantity(&#39;17&#39;,field,1,&#39;hikashop_product_form&#39;,&#39;cart&#39;); } else { return false; }"><span class="cart_btn_before"></span>

it's work's good! (in my local i test it...)

but... i can't see it in my php files, anybody can where is this found?

here is this on live:
tsibur-news.com/index.php/hikashop/product/17-

the RTL that work's good is in the attachment


thanx ;)
Last edit: 12 years 1 month ago by chalomot2015.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #167457 by Jerome
Hi,

HikaShop does not contain any reference of "cart_btn_before" in his source code.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: chalomot2015

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #167501 by chalomot2015
but whene i save it in my local pc and i edit this line, it's work's good...

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #167507 by nicolas
Sure, but it's not something you can change in HikaShop as HikaShop doesn't have that code.
It's probably your Joomla template which adds that code to the add to cart button. The best would be to contact your template provider so that they can tell you where to change that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.197 seconds
Powered by Kunena Forum