Need to work out how to do a few things....

  • Posts: 62
  • Thank you received: 0
12 years 11 months ago #40249

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)

Attachments:

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

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
12 years 11 months ago #40452

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:

<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; ?>}" />
to:
<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:
<?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.

  • Posts: 62
  • Thank you received: 0
12 years 10 months ago #40934

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?

Attachments:
Last edit: 12 years 10 months ago by TheEdge.

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

  • Posts: 62
  • Thank you received: 0
12 years 10 months ago #40935

Hi,

1. Changing it would not be a problem but..... My checkout workflow is defined as:

cart,login,address,shipping,payment,cart_status_fields_confirm,end

so even though confirm is there it is not used.

Attachments:

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

  • Posts: 83103
  • Thank you received: 13416
  • MODERATOR
12 years 10 months ago #41059

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

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

  • Posts: 62
  • Thank you received: 0
12 years 10 months ago #41108

All solved. Much appreciated Nicolas.

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

Time to create page: 0.065 seconds
Powered by Kunena Forum