Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Do not work modal popup
(1 viewing) (1) Guest
Report Bugs, Userguide, New Ideas...
  • Page:
  • 1
  • 2

TOPIC: Do not work modal popup

Re: Do not work modal popup 9 years, 5 months ago #7917

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Satrier,

Could you please send the screenshots to us?

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: Do not work modal popup 9 years, 5 months ago #7918

  • Satrier
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
I attached the video
bery.com.ua/Video_2013-02-15_111608.zip
Last Edit: 9 years, 5 months ago by Satrier.
The topic has been locked.

Re: Do not work modal popup 9 years, 5 months ago #7920

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Satrier,

The add to cart buttons on the category page are customized on the sj flower store template, not exist on the default category page.

Therefore, it is redirected to the product page , not popup when you click on this button.

Thanks
Ticket System | Join our Clubs to download our extensions and templates
The topic has been locked.

Re: Do not work modal popup 9 years, 5 months ago #7921

  • Satrier
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
In category perenapravlenye and dolzhna byt?
Give please, How can make one too in the category pop-up window on the button I put in the basket, not redirect.
It would be very grateful
The topic has been locked.

Re: Do not work modal popup 9 years, 5 months ago #8112

  • loitt
  • OFFLINE
  • Platinum Boarder
  • Posts: 2222
  • Karma: 48
Dear Satrier,

*go to "templates\sj_flowerstore\html\com_virtuemart\category\default.php", finding:

<?php /* add button addtocart */ ?>
<?php //use this code to call "VirtueMartViewProductdetails" class create button addtocart : echo $this->loadTemplate('addtocart_btn') ?>
<form method="post" class="js-recalculate" action="index.php" >

	<?php // Display the quantity box

		$stockhandle = VmConfig::get('stockhandle', 'none');
		if (($stockhandle == 'disableit' or $stockhandle == 'disableadd') and ($product->product_in_stock - $product->product_ordered) < 1) {
	 ?>

	<?php } else { ?>
				
				<?php
				// Display the add to cart button
				?>
				<span class="sj-bt submitbtn">
					<span class="">
						<input type="submit" name="addtocart" class="addtocart-button" value="<?php echo JText::_('COM_VIRTUEMART_CART_ADD_TO') ?>" title="<?php echo JText::_('COM_VIRTUEMART_CART_ADD_TO') ?>" />
					</span>
				</span>
				<?php // Display the add to cart button END  ?>
				<input type="hidden" value="1" name="quantity[]" class="quantity-input js-recalculate"/>
				<input type="hidden" class="pname" value="<?php echo $product->product_name ?>" />
				<input type="hidden" name="option" value="com_virtuemart" />
				<input type="hidden" name="view" value="cart" />
				<input type="hidden" name="task" value="add" />
				<input type="hidden" name="virtuemart_product_id[]" value="<?php echo $product->virtuemart_product_id ?>" />
				<?php // todo Handle the manufacturer view  ?>
				<input type="hidden" name="virtuemart_manufacturer_id" value="<?php echo $product->virtuemart_manufacturer_id ?>" />
				<input type="hidden" name="virtuemart_category_id[]" value="<?php echo $product->virtuemart_category_id ?>" />				
	<?php 	} ?>
</form>				


=>

<form method="post" class="product js-recalculate addtocartbutton" action="index.php" >
	<?php // Display the quantity box
		$stockhandle = VmConfig::get('stockhandle', 'none');
		if (($stockhandle == 'disableit' or $stockhandle == 'disableadd') and ($product->product_in_stock - $product->product_ordered) < 1) {
	 ?>

	<?php } else { ?>
	<?php /*
			<!-- <label for="quantity<?php echo $product->virtuemart_product_id; ?>" class="quantity_box"><?php echo JText::_('COM_VIRTUEMART_CART_QUANTITY'); ?>: </label> -->
	*/ ?>		
			<span class="quantity-box" style="display:none">
			<input type="text" class="quantity-input js-recalculate" name="quantity[]" value="<?php if (isset($product->min_order_level) && (int) $product->min_order_level > 0) {
		echo $product->min_order_level;
	} else {
		echo '1';
	} ?>" />
			</span>

			<?php // Display the quantity box END ?>

			<?php
			// Display the add to cart button
			?>
			<span class="sj-bt submitbtn">
				<span class="">
					<input type="submit" name="addtocart" class="addtocart-button" value="<?php echo JText::_('COM_VIRTUEMART_CART_ADD_TO') ?>" title="<?php echo JText::_('COM_VIRTUEMART_CART_ADD_TO') ?>" />
				</span>
			</span>
			<?php // Display the add to cart button END  ?>
			<input type="hidden" class="pname" value="<?php echo $product->product_name ?>" />
			<input type="hidden" name="option" value="com_virtuemart" />
			<input type="hidden" name="view" value="cart" />
			<noscript><input type="hidden" name="task" value="add" /></noscript>
			<input type="hidden" name="virtuemart_product_id[]" value="<?php echo $product->virtuemart_product_id ?>" />
			<?php /** @todo Handle the manufacturer view */ ?>
			<input type="hidden" name="virtuemart_manufacturer_id" value="<?php echo $product->virtuemart_manufacturer_id ?>" />
			<input type="hidden" name="virtuemart_category_id[]" value="<?php echo $product->virtuemart_category_id ?>" />										
	<?php } ?>
</form>			


---------------------------

*add the following line codes to the end of template.css in "templates\sj_flowerstore\css":

.browse-view .row .addtocartbutton {
    float: left;
}



Thanks
Ticket System | Join our Clubs to download our extensions and templates
Last Edit: 9 years, 5 months ago by loitt.
The topic has been locked.
The following user(s) said Thank You: Satrier

Re: Do not work modal popup 9 years, 5 months ago #8154

  • Satrier
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Thank you so much!
The topic has been locked.
  • Page:
  • 1
  • 2
Time to create page: 0.55 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Suggested Posts

(/)
Result not found!

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes