- Posts: 20
- Thank you received: 0
Insert Add to cart Button
13 years 8 months ago #84108
by Grey64
Insert Add to cart Button was created by Grey64
Hi
Is it possible to put a second add to cart button at the bottom (or anywhere) in the product description so customer don't has to return to the top of the description to click?
Thanks
Is it possible to put a second add to cart button at the bottom (or anywhere) in the product description so customer don't has to return to the top of the description to click?
Thanks
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 16
- Thank you received: 2
13 years 8 months ago #84123
by plugonline
Replied by plugonline on topic Insert Add to cart Button
yes why not copy the add to cart code en place any where you want it on the page
Please Log in or Create an account to join the conversation.
13 years 8 months ago #84128
by Grey64
Replied by Grey64 on topic Insert Add to cart Button
I thought it should be something like that but where do I find the code please..
I know it's probably obvious but I'm just learning this stuff :blink:
Thanks
I know it's probably obvious but I'm just learning this stuff :blink:
Thanks
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 16
- Thank you received: 2
13 years 8 months ago - 13 years 8 months ago #84132
by plugonline
Replied by plugonline on topic Insert Add to cart Button
edit the product / listing_....php file.
dont now witch one you use div, list, .. u can check that in your category listings in the admin
place al link in youre post so we can see
A other option is to add manual on your product page the click on edit product then u see next to the save button a yellow button add to cart html link past that in the writing area and it wil appair unther your product describtion. you need to do this voor all your products
dont now witch one you use div, list, .. u can check that in your category listings in the admin
place al link in youre post so we can see
A other option is to add manual on your product page the click on edit product then u see next to the save button a yellow button add to cart html link past that in the writing area and it wil appair unther your product describtion. you need to do this voor all your products
Last edit: 13 years 8 months ago by plugonline.
The following user(s) said Thank You: Grey64
Please Log in or Create an account to join the conversation.
13 years 8 months ago #84182
by Grey64
Replied by Grey64 on topic Insert Add to cart Button
Thanks I see how it's done now
Please Log in or Create an account to join the conversation.
13 years 8 months ago #84184
by Jerome
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.
Replied by Jerome on topic Insert Add to cart Button
Hi,
The view is "product | show_default".
The block which add the button is the "quantity" block. You can duplicate the code (and changing the "id" in order to remove the HTML errors).
Something like:
Regards,
The view is "product | show_default".
The block which add the button is the "quantity" block. You can duplicate the code (and changing the "id" in order to remove the HTML errors).
Something like:
Code:
<div id="hikashop_product_quantity_main_2" class="hikashop_product_quantity_main">
<?php
$this->row = & $this->element;
$this->ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . $this->row->product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }';
$this->setLayout('quantity');
echo $this->loadTemplate();
?>
</div>
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.
Please Log in or Create an account to join the conversation.
Time to create page: 0.203 seconds