Shopping Basket


 x 

Cart empty


Log In

Find Us Elsewhere

Forum Search

Keyword

Product Details open in Modal

  • wayner
  • wayner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 8 months ago #3394 by wayner
wayner created the topic: Product Details open in Modal
Hi, I would like that when clicking on the Product Detail link would open in a Modal window. Is this possible and if so how.

Thank you in advance.

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

More
1 year 8 months ago #3397 by boggler
boggler replied the topic: Product Details open in Modal
Hello, can you tell me which extension you are referring to? It is not possible to answer your question otherwise.

But I am sure it is possible.

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

  • wayner
  • wayner's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
1 year 8 months ago #3399 by wayner
wayner replied the topic: Product Details open in Modal
The question relates to VM Product Snapshot. Sorry for confusion.

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

More
1 year 8 months ago #3400 by boggler
boggler replied the topic: Product Details open in Modal
You will need to edit the vm2productsnapshot.php file, line 324:-
$list->addtocart_button = '<div class="addtocart-button"><a class="addtocart-button" href="'.$list->addtocart_link.'">'.$list->addtocart.'</a></div>';

change to
$list->addtocart_button = '<div class="addtocart-button"><a class="addtocart-button modal" href="'.$list->addtocart_link.'">'.$list->addtocart.'</a></div>';

Also at the top of the file, just after
	public function init()
	{

add
JHTML::_('behavior.modal');

so it says
	public function init()
	{
              JHTML::_('behavior.modal'); 
The following user(s) said Thank You: wayner

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

Moderators: boggler
Time to create page: 0.199 seconds