Delete "cart name" & unlink product name

  • Posts: 53
  • Thank you received: 0
11 years 3 months ago #141939

-- 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.

  • Posts: 83832
  • Thank you received: 13572
  • MODERATOR
11 years 3 months ago #142041

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.

  • Posts: 53
  • Thank you received: 0
11 years 3 months ago #142544

Great. Solved.

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

  • Posts: 27
  • Thank you received: 2
10 years 4 months ago #187131

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.

  • Posts: 2143
  • Thank you received: 747
10 years 4 months ago #187152

@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.

  • Posts: 27
  • Thank you received: 2
10 years 4 months ago #187153

You're right, thanks!

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

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

  • Posts: 2143
  • Thank you received: 747
10 years 4 months ago #187156

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.

  • Posts: 26235
  • Thank you received: 4036
  • MODERATOR
10 years 4 months ago #187155

Hi,

For that specific part, you can also use some view override and remove that 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.

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.085 seconds
Powered by Kunena Forum