cart_btn_before where is this?

  • Posts: 2
  • Thank you received: 0
10 years 2 months ago #167456

-- 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:
<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:
<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 ;)

Attachments:
Last edit: 10 years 2 months ago by chalomot2015.

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
10 years 2 months ago #167457

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.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: chalomot2015

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

  • Posts: 2
  • Thank you received: 0
10 years 2 months ago #167501

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.

  • Posts: 82726
  • Thank you received: 13342
  • MODERATOR
10 years 2 months ago #167507

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.064 seconds
Powered by Kunena Forum