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

Есть ли руковдство
(1 viewing) (1) Guest

TOPIC: Есть ли руковдство

Re: Есть ли руковдство 10 years, 4 months ago #15283

Dear Alexei Titov,

Please go to your_site\templates\sj_appstore_hitech\html\com_virtuemart\productdetails\default.php and:

- find:
<a href="javascript: void(0)" class="prd_reviews"><?php echo JText::_('COM_VIRTUEMART_REVIEWS') ?></a>

=>

<a href="javascript: void(0)" class="prd_reviews"><?php echo JText::_('COM_VIRTUEMART_REVIEWS') ?></a>
			<a href="javascript: void(0)" class="prd_button1"><?php echo "button1"; ?></a>
			<a href="javascript: void(0)" class="prd_button2"><?php echo "button2"; ?></a>


- find:
echo $this->loadTemplate('reviews');
			?>

=>

echo $this->loadTemplate('reviews');
			?>
			<div class="product-button1">
				<!--content of tab buttuon1-->
				
			</div>
			<div class="product-button2">
				<!--content of tab buttuon2-->
				
			</div>


- find:
if($(this).hasClass('prd_reviews')){
				$('.tab_desc .tab_desc_conten > div').removeClass('active');
				$('.tab_desc .tab_desc_conten > div.customer-reviews').addClass('active');
			};

=>

if($(this).hasClass('prd_button1')){
				$('.tab_desc .tab_desc_conten > div').removeClass('active');
				$('.tab_desc .tab_desc_conten > div.product-button1').addClass('active');
			};
			if($(this).hasClass('prd_button2')){
				$('.tab_desc .tab_desc_conten > div').removeClass('active');
				$('.tab_desc .tab_desc_conten > div.product-button2').addClass('active');
			};


Thanks!

Re: Есть ли руковдство 10 years, 4 months ago #15342

Thank you.
And how to make sure that there was deduced material: pictures, videos, articles?

Спасибо.
А как сделать так, чтобы там выводился материал : картинки, видео, статьи?

Re: Есть ли руковдство 10 years, 4 months ago #15360

Dear Alexei Titov,

You can display pictures, videos or any in content of button1 tab, button2 tab:
echo $this->loadTemplate('reviews');
			?>
			<div class="product-button1">
				<!--content of tab buttuon1-->
				echo "insert picture, video at here";
			</div>
			<div class="product-button2">
				<!--content of tab buttuon2-->
				echo "insert  picture or video at here";
			</div>


Thanks!
The following user(s) said Thank You: Alexei13

Re: Есть ли руковдство 10 years, 4 months ago #15377

Excellent! Thank you!

Отлично! Спасибо!

Re: Есть ли руковдство 10 years, 4 months ago #15381

And how to make sure that every product under the same button, display different material?

А как сделать так, чтобы в каждом товаре, под одной и той же кнопкой, выводился разный материал?

Re: Есть ли руковдство 10 years, 4 months ago #15398

Dear Alexei Titov,

This is depended on Virtuemart Field of product that is inserted in administrator of Virtuemart component

Thanks!
Time to create page: 0.26 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.

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