Skip to main content

Delete "cart name" & unlink product name

12 years 9 months ago #141939 by oharris
-- url of the page with the problem -- : 2014conference.icac.org.jm
-- HikaShop version -- : 2.2.3
-- Joomla version -- : 2.5

After I select a product (in my case, a registration), my shopping cart (displayed via menu item, 2014conference.icac.org.jm/registration-cart.html ) displays the selected product and price.
How can I delete?:
  • the Cart name and field
  • "Show the carts", "Print" , "Save" & "Back" link.
Also, how can I unlink the product name?

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

12 years 9 months ago #142041 by nicolas
You'll have to edit the file "showcart" via the menu Display>Views and remove the bits you don't want.
The following user(s) said Thank You: oharris, stefanobellu

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

12 years 9 months ago #142544 by oharris
Great. Solved.

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

11 years 10 months ago #187131 by stefanobellu
Hello there,
I'm trying to do the same in the Carts view (not the redirect, the menu entry), and managed to change something, the only thing I don't get is, what should i remove to hide the "Cart Name"?
I don't want to make mistakes!
Thanks

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

11 years 10 months ago #187152 by lousyfool
@stefanobellu:

Hi again,

If you only want to hide something, there's no need to edit PHP files, typically. Simply use custom CSS and set the ID or class in question to "display: none;".

Firebug is your friend! (Or any other comparable browser console.)

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: stefanobellu

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

11 years 10 months ago #187153 by stefanobellu
You're right, thanks!

(you're about to become my personal helper!!)

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

11 years 10 months ago #187156 by lousyfool

stefanobellu wrote: (you're about to become my personal helper!!)


That's alright... just don't forget to tell me where I send the bill! :lol:

Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

11 years 10 months ago #187155 by Jerome
Hi,

For that specific part, you can also use some view override and remove that code
Code:
if($hasAccess) { ?> <tr> <td class="key"> <?php if($cart_type != 'wishlist') echo JText::_('HIKASHOP_CART_NAME'); else echo JText::_('HIKASHOP_WISHLIST_NAME'); ?>: </td> <td width="60%"> <?php if($tmpl != 'component'){ ?> <input type="text" id="cart_name" name="cart_name" value="<?php echo $this->escape($this->cartVal->cart_name); ?>" class="inputbox"/> <?php }else{ ?> <span id="hikashop_wishlist_name" class="hikashop_wishlist_name"><?php echo $this->escape($this->cartVal->cart_name); ?></span> <?php } ?> </td> </tr> <?php }

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

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

Time to create page: 0.112 seconds
Powered by Kunena Forum