"product | cart" view is showing source code

  • Posts: 45
  • Thank you received: 0
11 years 7 months ago #100141

Hello!

In my hikashop business link index.php?option=com_hikashop&ctrl=cart&tmpl=component is showing the source view of the page. You can try it by opening link: smartshop-ks.com/jo/index.php?option=com...=cart&tmpl=component

I don’t have this problem with other views such as
smartshop-ks.com/jo/index.php/component/...wcart/tmpl-component

Will you please see what is wrong with "product | cart" view because it would be better option for me to use it, since there is also product image, ability to delete product from cart etc.

You will find code of the "product | cart" view as an attachment.

Thank you!

/Mirlinda

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #100243

Hi,

Have you edited this view ?
If it is, save the content in an external file, delete the modifications. See if it's working and try to edit it again.

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

  • Posts: 45
  • Thank you received: 0
11 years 7 months ago #100881

Yes I have.
Is it possible for me to get the original of this view code from somewhere? I have hikashop business, is the original code somewhere in my hikashop business zip package or can you send it to me by email? That is because I am not sure if I remember every change I made.

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #100956

Hi,
If you want to revert your changes, you can :
- Go to "Hikashop->Dispaly->Views"
- Search for your cart file of your product view of your front-end template
- Then revert your changes through the "trash icon".

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #100957

Save the current content of this view in an external file, then go back on the views listing, and click on the dustbin next to the view, this will reset the default view.
Then you will be able to make the changes again, with your previously saved file.

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

  • Posts: 45
  • Thank you received: 0
11 years 6 months ago #101269

Just want to make sure that I am doing the right thing since it is asking me if I am sure I want to delete the selected items.
See the screenshot.
Thank you


!

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #101393

Yes, you have to delete that, be sure to have make an external save before.

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

  • Posts: 45
  • Thank you received: 0
11 years 6 months ago #102334

Didn't help. It is still showing the source code on the view :(

Any other ideas?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #102413

So the problem should come from your menu, can you give us a screenshot of this menu configuration ?

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

  • Posts: 45
  • Thank you received: 0
11 years 6 months ago #102648

Will you please be more specific on what you mean by menu?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #102656

To display that view, you click on a menu right ?
I need to see the config of that menu.

And the view is not "product / cart" but "cart / showcart". Try to reset this view like you have done this for the view "product / cart".

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

Time to create page: 0.088 seconds
Powered by Kunena Forum