- Posts: 62
- Thank you received: 0
Need to work out how to do a few things....
14 years 7 months ago #40249
by TheEdge
Need to work out how to do a few things.... was created by TheEdge
Hi,
- Hikashop Business 1.5.6
Checkout
1) Change the title in a step? For the second to last step I want to change this from Cart --> Confirm
2) Have it so that typing a new value for the number of products automatically updates the value of the order (like the shopping cart module does)
3) Add a BACK button to compliment the NEXT button
Products In A Catgory
4) Instead of showing the image and heading of the product and then linking to the detail page. Is it possible to show some information about the product as well (See category_list.png)
- Hikashop Business 1.5.6
Checkout
1) Change the title in a step? For the second to last step I want to change this from Cart --> Confirm
2) Have it so that typing a new value for the number of products automatically updates the value of the order (like the shopping cart module does)
3) Add a BACK button to compliment the NEXT button
Products In A Catgory
4) Instead of showing the image and heading of the product and then linking to the detail page. Is it possible to show some information about the product as well (See category_list.png)
Please Log in or Create an account to join the conversation.
14 years 7 months ago #40452
by nicolas
Replied by nicolas on topic Re: Need to work out how to do a few things....
Hi,
1. Any text in HikaShop can be overridden as explained there:
www.hikashop.com/en/download/languages.html#modify
2. Edit the file "cart" of the view "checkout" via the menu Display->Views and change the line:
to:
3.Edit the file "cart" of the view "checkout" via the menu Display->Views and add something like that:
4. Edit the hikashop options of your menu/module via the menu Display->Content menus/modules and change the item box layout to image and description for example.
1. Any text in HikaShop can be overridden as explained there:
www.hikashop.com/en/download/languages.html#modify
2. Edit the file "cart" of the view "checkout" via the menu Display->Views and change the line:
Code:
<input id="hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>" type="text" name="item[<?php echo $row->cart_product_id;?>]" class="hikashop_product_quantity_field" value="<?php echo $row->cart_product_quantity; ?>" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field){<?php echo $input; ?>}" />
Code:
<input id="hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>" type="text" name="item[<?php echo $row->cart_product_id;?>]" class="hikashop_product_quantity_field" value="<?php echo $row->cart_product_quantity; ?>" onchange="var qty_field = document.getElementById('hikashop_checkout_quantity_<?php echo $row->cart_product_id;?>'); if (qty_field){<?php echo $input; ?> this.form.submit(); }" />
3.Edit the file "cart" of the view "checkout" via the menu Display->Views and add something like that:
Code:
<?php echo $this->cart->displayButton(JText::_('BACK'),'back',$this->params,hikashop::currentUrl(),'history.back();return false;','id="hikashop_checkout_back_button"'); ?>
4. Edit the hikashop options of your menu/module via the menu Display->Content menus/modules and change the item box layout to image and description for example.
Please Log in or Create an account to join the conversation.
14 years 7 months ago - 14 years 7 months ago #40934
by TheEdge
Replied by TheEdge on topic Re: Need to work out how to do a few things....
Hi,
- 3 works but even adding it to the botton of Checkout > Cart it is still offset from the next button due to an intervening <br /> tag. Where should I edit to get the back button level with the next button?
- 3 works but even adding it to the botton of Checkout > Cart it is still offset from the next button due to an intervening <br /> tag. Where should I edit to get the back button level with the next button?
Last edit: 14 years 7 months ago by TheEdge.
Please Log in or Create an account to join the conversation.
14 years 7 months ago #40935
by TheEdge
Replied by TheEdge on topic Re: Need to work out how to do a few things....
Hi,
1. Changing it would not be a problem but..... My checkout workflow is defined as:
so even though confirm is there it is not used.
1. Changing it would not be a problem but..... My checkout workflow is defined as:
Code:
cart,login,address,shipping,payment,cart_status_fields_confirm,end
so even though confirm is there it is not used.
Please Log in or Create an account to join the conversation.
14 years 7 months ago #41059
by nicolas
Replied by nicolas on topic Re: Need to work out how to do a few things....
3. Then edit the file "step" of the view "checkout" and add that at the bottom.
1. It's always the first view of the step which is used for the title.
Do like that and it will work:
cart,login,address,shipping,payment,confirm_cart_status_fields,end
1. It's always the first view of the step which is used for the title.
Do like that and it will work:
cart,login,address,shipping,payment,confirm_cart_status_fields,end
Please Log in or Create an account to join the conversation.
14 years 7 months ago #41108
by TheEdge
Replied by TheEdge on topic Re: Need to work out how to do a few things....
All solved. Much appreciated Nicolas.
Please Log in or Create an account to join the conversation.
Time to create page: 0.204 seconds