-
AuthorPosts
-
gringo211985 Friend
gringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
July 25, 2013 at 3:56 pm #189227Hi there,
I have a weird problem when adding to cart, please see pic below,
How can I get the “continue shopping” and “view cart” to be under each other instead of displaying weirdly like they do now?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 30, 2013 at 10:32 am #500589Hi gringo211985,
Sorry for this late response, somehow I missed this thread.
For the issue of popup add to cart, it seems that VM change something in code, please try opening file: /components/com_virtuemart/views/cart/tmpl/padded.php, at approx line 23, you will see this snippet of code:
[PHP]
echo ‘<a class=”continue” href=”‘ . $this->continue_link . ‘” >’ . JText::_(‘COM_VIRTUEMART_CONTINUE_SHOPPING’) . ‘</a>’;
echo ‘<a class=”showcart floatright” href=”‘ . $this->cart_link . ‘”>’ . JText::_(‘COM_VIRTUEMART_CART_SHOW’) . ‘</a>’;
if($this->product){
echo ‘<h4>’.JText::sprintf(‘COM_VIRTUEMART_CART_PRODUCT_ADDED’,$this->product->product_name,$this->product->quantity).'</h4>’;
}
[/PHP]change to this:
[PHP]
if($this->product){
echo ‘<h4>’.JText::sprintf(‘COM_VIRTUEMART_CART_PRODUCT_ADDED’,$this->product->product_name,$this->product->quantity).'</h4>’;
}
echo ‘<a class=”continue” href=”‘ . $this->continue_link . ‘” >’ . JText::_(‘COM_VIRTUEMART_CONTINUE_SHOPPING’) . ‘</a>’;
echo ‘<a class=”showcart floatright” href=”‘ . $this->cart_link . ‘”>’ . JText::_(‘COM_VIRTUEMART_CART_SHOW’) . ‘</a>’;
[/PHP]Then clean JAT3 cache.
Give it a try and let me know how it goes.
Hope this helps 🙂
1 user says Thank You to Saguaros for this useful post
gringo211985 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
August 1, 2013 at 6:17 pm #500964Thanks Saguaros, that worked great! It now shows text on top then add to cart and continue shopping underneath.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 2, 2013 at 4:00 am #501010You’re welcome, mate :laugh:
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by Saguaros 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Weird visual when adding to cart
Viewing 4 posts - 1 through 4 (of 4 total)