Forum Search
Product Details open in Modal
- wayner
- Topic Author
- Offline
- Fresh Boarder
Less
More
- Posts: 3
- Thank you received: 0
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.
Thank you in advance.
Please Log in or Create an account to join the conversation.
- boggler
- Offline
- Moderator
Less
More
- Posts: 1145
- Karma: 18
- Thank you received: 132
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.
But I am sure it is possible.
Please Log in or Create an account to join the conversation.
- wayner
- Topic Author
- Offline
- Fresh Boarder
Less
More
- Posts: 3
- Thank you received: 0
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.
- boggler
- Offline
- Moderator
Less
More
- Posts: 1145
- Karma: 18
- Thank you received: 132
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:-
change to
Also at the top of the file, just after
add
so it says
$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