- Posts: 10
- Thank you received: 0
change cart in product page
12 years 2 months ago #163316
by andradeq
change cart in product page was created by andradeq
hi,
i need to change cart bottom in product page, just there are 1 table with 2 tr and both are 3 td and 1 td.
i need to do that in screenshot.. how can i do?
thank you in advance
i need to change cart bottom in product page, just there are 1 table with 2 tr and both are 3 td and 1 td.
i need to do that in screenshot.. how can i do?
thank you in advance
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 2 months ago #163356
by Mohamed Thelji
Replied by Mohamed Thelji on topic change cart in product page
Hello,
Using some CSS code will probably do the job : www.hikashop.com/support/documentation/1...the-display.html#css
Using some CSS code will probably do the job : www.hikashop.com/support/documentation/1...the-display.html#css
Please Log in or Create an account to join the conversation.
12 years 2 months ago #163377
by andradeq
Replied by andradeq on topic change cart in product page
hi,
i tried with css, but i would to chenge: quantity.php, and show_quantity.php pages just i can't...
beacause if i change some code, quantity filed not functioning !
how can i do?
thank you again
i tried with css, but i would to chenge: quantity.php, and show_quantity.php pages just i can't...
beacause if i change some code, quantity filed not functioning !
how can i do?
thank you again
Please Log in or Create an account to join the conversation.
12 years 2 months ago #163386
by Xavier
Replied by Xavier on topic change cart in product page
Hi,
Thanks to create a new file in "templates/YOUR_TEMPLATE/html/com_hikshop/product/show_quantity_custom.php", put the code:
inside and then in the HikaShop option "Quantity layout on product page" in Configuration > Display > Products, select the value "show_quantity_custom", this way you will have the desired layout, then you just have to customize it with some css properties.
Thanks to create a new file in "templates/YOUR_TEMPLATE/html/com_hikshop/product/show_quantity_custom.php", put the code:
Code:
<?php
$i =$this->params->get('i');
$min_quantity =$this->params->get('min_quantity');
$max_quantity =$this->params->get('max_quantity');
$html =$this->params->get('html');
?>
<table>
<tr>
<td class="cust_qty">
<input id="hikashop_product_quantity_field_<?php echo $i; ?>" type="text" value="<?php echo JRequest::getInt('quantity',$min_quantity); ?>" class="hikashop_product_quantity_field" name="quantity" onchange="hikashopCheckQuantityChange('hikashop_product_quantity_field_<?php echo $i; ?>',<?php echo $max_quantity; ?>,<?php echo $min_quantity; ?>);" />
</td>
<td class="cust_plus">
<a id="hikashop_product_quantity_field_change_plus_<?php echo $i; ?>" class="hikashop_product_quantity_field_change_plus hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange('hikashop_product_quantity_field_<?php echo $i; ?>',1,<?php echo $max_quantity; ?>,<?php echo $min_quantity; ?>);">+</a>
</td>
<td class="cust_minus">
<a id="hikashop_product_quantity_field_change_minus_<?php echo $i; ?>" class="hikashop_product_quantity_field_change_minus hikashop_product_quantity_field_change" href="#" onclick="return hikashopQuantityChange('hikashop_product_quantity_field_<?php echo $i; ?>',0,<?php echo $max_quantity; ?>,<?php echo $min_quantity; ?>);">–</a>
</td>
</tr>
<tr>
<td colspan="3" class="cust_button">
<?php echo $html; ?>
</td>
</tr>
</table>
The following user(s) said Thank You: andradeq
Please Log in or Create an account to join the conversation.
12 years 2 months ago #164352
by andradeq
Replied by andradeq on topic change cart in product page
hi,
thank you very very much!!!
i resolved it!
just one more question...
in every page is right, but in product page it is wrong like screenshot.
there's a way to resolve with php?
thank you very mouch one more time!!!
thank you very very much!!!
i resolved it!
just one more question...
in every page is right, but in product page it is wrong like screenshot.
there's a way to resolve with php?
thank you very mouch one more time!!!
Please Log in or Create an account to join the conversation.
12 years 2 months ago #164398
by andradeq
Replied by andradeq on topic change cart in product page
hi,
i'have done!! thank you very much!!!
just one problem with social plugin.
i enabled it, and in firefox not showing notihig, in safari yes.. like screenshot.
whay it is happening? and what can i do to solve it?
thank you again
i'have done!! thank you very much!!!
just one problem with social plugin.
i enabled it, and in firefox not showing notihig, in safari yes.. like screenshot.
whay it is happening? and what can i do to solve it?
thank you again
Please Log in or Create an account to join the conversation.
12 years 2 months ago #164432
by nicolas
Replied by nicolas on topic change cart in product page
Hi,
Could you provide a link to the page so that we can see that ?
Could you provide a link to the page so that we can see that ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.241 seconds