- Posts: 86
- Thank you received: 2
Feature recuest: Hikashop cart module: add content
13 years 4 months ago #102618
by scharfet
Feature recuest: Hikashop cart module: add content was created by scharfet
Hello,
feature request: the possibility to add content at the bottom (and top?) of the cart module. (i.e. to add shipping costs, etc. at the bottom of the shopping cart)
This text should dissappear on the following pages during the check out process, so adding a Joomla custom-html module does not work.
Or is there an other workaround to get this work?
Best and Thank you.
feature request: the possibility to add content at the bottom (and top?) of the cart module. (i.e. to add shipping costs, etc. at the bottom of the shopping cart)
This text should dissappear on the following pages during the check out process, so adding a Joomla custom-html module does not work.
Or is there an other workaround to get this work?
Best and Thank you.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #102642
by Xavier
Replied by Xavier on topic Feature recuest: Hikashop cart module: add content
Hi,
The shipping costs are not calculated in the cart module, but in the checkout.
So you can edit the view "product / cart" to add some custom html to display a "standard" shipping cost.
You can remove a module during the checkout, you jsut have to set a menu in the option "menu" of the checkout configuration page.
And the menu can be a menu where the custom module is not displayed.
The shipping costs are not calculated in the cart module, but in the checkout.
So you can edit the view "product / cart" to add some custom html to display a "standard" shipping cost.
You can remove a module during the checkout, you jsut have to set a menu in the option "menu" of the checkout configuration page.
And the menu can be a menu where the custom module is not displayed.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #102645
by scharfet
Replied by scharfet on topic SOLVED: Hikashop cart module: add content
1.)
I created a Joomla custom-HTML-Module
2.) I installed the NoNumber plugin " Modules Anywhere "
3.) I edit the view "checkout / cart" and added at the bottom follwoing code: {module 123} (123 = module ID created en step 1)
works fine.
Thank you!
I created a Joomla custom-HTML-Module
2.) I installed the NoNumber plugin " Modules Anywhere "
3.) I edit the view "checkout / cart" and added at the bottom follwoing code: {module 123} (123 = module ID created en step 1)
works fine.
Thank you!
Please Log in or Create an account to join the conversation.
13 years 4 months ago - 13 years 4 months ago #102646
by scharfet
Replied by scharfet on topic Feature recuest: Hikashop cart module: add content
Last edit: 13 years 4 months ago by scharfet.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #102676
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 Feature recuest: Hikashop cart module: add content
Hi,
The "next" button is added in the "checkout | step" view and you place your module in the "checkout | cart".
So, you can:
- Modify the "checkout | step" view in order to move the "next" button (but at the top of the page if you want something nice).
- Display your module in the view "checkout | step" and not in "checkout | cart". So the module can be placed under the "next" button.
Regards,
The "next" button is added in the "checkout | step" view and you place your module in the "checkout | cart".
So, you can:
- Modify the "checkout | step" view in order to move the "next" button (but at the top of the page if you want something nice).
- Display your module in the view "checkout | step" and not in "checkout | cart". So the module can be placed under the "next" button.
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.
13 years 4 months ago #102687
by scharfet
Replied by scharfet on topic Feature recuest: Hikashop cart module: add content
Hi,
When I add it to "checkout | step" the custom text is displayed en all steps of the check out process, but I only want to display the custom text in the shopping cart (only in the first step).
Do you see any possibility whether I chan solve this any how?
Best,
When I add it to "checkout | step" the custom text is displayed en all steps of the check out process, but I only want to display the custom text in the shopping cart (only in the first step).
Do you see any possibility whether I chan solve this any how?
Best,
Please Log in or Create an account to join the conversation.
13 years 4 months ago #102709
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 Feature recuest: Hikashop cart module: add content
Hi,
You can only display your content for a specific step.
The variable "$this->step" contains the step number. So you can
(by replacing "1" with the step number you want).
Regards,
You can only display your content for a specific step.
The variable "$this->step" contains the step number. So you can
Code:
if($this->step == 1) { echo '{module 123}'; }
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: scharfet
Please Log in or Create an account to join the conversation.
13 years 4 months ago - 13 years 4 months ago #102719
by scharfet
Replied by scharfet on topic Feature recuest: Hikashop cart module: add content
I added the code to "checkout | step", but it is not working.
please visit this page, and adit a product, then got to the chart.
www.monpetitpot.es/index.php?option=com_...cle&id=24&Itemid=123
Code:
....
</div>
if($this->step == 1) { echo '{module 158}'; }
<div class="clear_both"></div>
<?php
if(JRequest::getWord('tmpl','')=='component'){
exit;
}
please visit this page, and adit a product, then got to the chart.
www.monpetitpot.es/index.php?option=com_...cle&id=24&Itemid=123
Last edit: 13 years 4 months ago by scharfet.
Please Log in or Create an account to join the conversation.
13 years 4 months ago #102729
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 Feature recuest: Hikashop cart module: add content
Hi,
The line that I gave you is some PHP code, not HTML, you have to put is as PHP code:
Regards,
The line that I gave you is some PHP code, not HTML, you have to put is as PHP code:
Code:
....
</div>
<?php
if($this->step == 1) { echo '{module 158}'; }
?>
<div class="clear_both"></div>
<?php
if(JRequest::getWord('tmpl','')=='component'){
exit;
}
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.
13 years 4 months ago - 13 years 4 months ago #102732
by scharfet
Replied by scharfet on topic SOLVED: Hikashop cart module: add content
It worked.
I had to use step == 0 in order to show it in the cart-view.
Thank you!
I had to use step == 0 in order to show it in the cart-view.
Code:
step == 0
Thank you!
Last edit: 13 years 4 months ago by scharfet.
Please Log in or Create an account to join the conversation.
Time to create page: 0.227 seconds