Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.00 Issues
 tmp_productformat
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Sharon
VP-CART Super User

357 Posts

Posted - April 29 2015 :  05:41:39  Show Profile  Visit Sharon's Homepage  Reply with Quote
Can anyone tell me how to edit this template?

I want to get rid of
[formathyperlinks sub] [formatcomparison sub]
[formatoverallrating sub] [formatratinglinks sub]
[add_addthis][add_polyvore]

on shopdisplayproducts.asp

All my attempts so far completely trash the layout or displays the first 3 items OK & trashes the rest.

I am really struggling here

support
Administrator

4679 Posts

Posted - April 29 2015 :  08:01:52  Show Profile  Visit support's Homepage  Reply with Quote
Hi Sharon

In admin in config search for:

rat

Will bring up the rating options. Set to No.

Search for:

compar

Will return the comparison settings.

Same with addtvis and polyvore. Just search for the first few letters to return the particular setting.

If you want to remove the link to drrail page search for:

gener

The setting is something like xgeneratehyperlink or something. Not at my PC at the moment and replying from my phone. :)

Hope this helps!

Thanks

Cam Flanigan
VPCart Support

Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - April 29 2015 :  11:16:53  Show Profile  Visit Sharon's Homepage  Reply with Quote
Thanks Cam, unfortunately I only want to remove certain elements from displayed products but keep them on the extended description page, hence wanting to edit the template.
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - April 29 2015 :  17:49:48  Show Profile  Visit vaheh's Homepage  Reply with Quote
Hi Sharon,

You can take a backup from tmp_productformat.htm and then delete the lines that you do not want to have. I forgot to mention if you are not sure then let me know and I will send you the file.


Edited by - vaheh on April 29 2015 17:56:12
Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - April 30 2015 :  03:15:15  Show Profile  Visit Sharon's Homepage  Reply with Quote
quote:
Originally posted by vaheh

Hi Sharon,

You can take a backup from tmp_productformat.htm and then delete the lines that you do not want to have. I forgot to mention if you are not sure then let me know and I will send you the file.


Thanks vaheh, every time I deleted lines, either nothing happened or I broke the page display. I would be very grateful if you would email me a copy of your file to [email protected].
Go to Top of Page

motonet
VP-CART New User

Spain
79 Posts

Posted - April 30 2015 :  09:08:44  Show Profile  Reply with Quote
Hi Sharon. If I understand correctly, you don´t whant to show Comparison links, rating links and polyvore. You say that you want to remove only certain elements... which ones?

Comparison, Addthis and rating, all of them can be disabled from shop configurations options.

Saludos
Diego

Edited by - motonet on April 30 2015 09:11:43
Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - April 30 2015 :  10:03:23  Show Profile  Visit Sharon's Homepage  Reply with Quote
quote:
Originally posted by motonet

Hi Sharon. If I understand correctly, you don´t whant to show Comparison links, rating links and polyvore. You say that you want to remove only certain elements... which ones?

Comparison, Addthis and rating, all of them can be disabled from shop configurations options.

Saludos
Diego



Hi Diego,

I have disabled comparison & polyvore in the configuration as I don''t want them to appear at all.

I still want to get rid of the ''Ask a question'' link & the ''Add this'' bar.

I want to delete these items from shopdisplayproducts.asp
I still want them appear on the extended description page which is why I cannot disable them in the shop configuration.

Go to Top of Page

motonet
VP-CART New User

Spain
79 Posts

Posted - April 30 2015 :  11:19:37  Show Profile  Reply with Quote
Hi Sharon

¿What template have you configured for Xproducttemplate in shop configuration?

Saludos
Diego
Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - April 30 2015 :  11:22:18  Show Profile  Visit Sharon's Homepage  Reply with Quote
quote:
Originally posted by motonet

Hi Sharon

¿What template have you configured for Xproducttemplate in shop configuration?

Saludos
Diego



tmp_product.htm, which I am happy with.
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - April 30 2015 :  11:39:24  Show Profile  Visit vaheh's Homepage  Reply with Quote
Hi Sharon,

Please take a screenshot of shopdisplayproducts page and mark the things you do not want to show and then send to me the template file that you are using for the page. I will edit that one and send it back to you.
Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - May 01 2015 :  02:08:48  Show Profile  Visit Sharon's Homepage  Reply with Quote
Hi Diego,

Thank you. What is your email address?
Because of time difference I may miss your reply as I am going on holiday later but I will be back on Wednesday.
Go to Top of Page

motonet
VP-CART New User

Spain
79 Posts

Posted - May 01 2015 :  09:20:01  Show Profile  Reply with Quote
Hi Sharon. I think I ve found something that could be your problem

Manual says 2 things

Xproducttemplate : The name of the template to use for displaying products in
the shopdisplayproducts.asp page. Default is
tmp_product.htm.

Then says: By default the template tmp_productformat.htm is used for displaying products on
shopdisplayproducts.asp.

So, I´ve made a quick test modifying tmp_productformat and I understand that this is the file you have to edit if you want to keep showing "ask a question" and "add this" in shopexd. Delete [add_addthis] and [add_question] from it and try.

Obviously, be sure, that you keep [add_addthis] and [add_question] in tmp_product.htm

xproducttemplate, is for formating products in shopexd as says the description in admin.

Saludos
Diego
Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - May 01 2015 :  11:12:06  Show Profile  Visit Sharon's Homepage  Reply with Quote
Hi Diego,

I have been trying to edit the right template all along, maybe not obvious as it is the thread title, so not in my posts.

Thanks to you I have deleted [add-addthis] & the add this bar no longer displays.

However, there are no instance of [add-question] & "Ask a question...." is still displaying.

Here is the content of my template as it now stands.

<div class="row desktop_view product-view product-list-row-view" style="">
 <div class="col-xs-12">
 <div class="product-row">	
	 <div class="row">
	 <div class="col-xs-7">
		 <div class="row">
		 <div class="col-sm-4 product-details-wrap prod-img">
			 [formatimage sub]
			</div>
			<div class="col-sm-8 product-detals-wrap product-details">
			 <h4 class="global-font-color">[translate cname]</h4>
			 <div class="productcode">[getlang langproductcapcode]: [ccode]</div>
			 <div class="productdesc">[translate cdescription]</div>
			</div>
		 </div>
		 <div class="featured-option">
		 [formatproductoptions sub]
		 </div>
		</div>
		<div class="col-xs-5">
		 <div class="row">
		 <div class="col-md-3 col-sm-12 col-xs-12 product-price">
$			 <span class="price global-font-color">[FORMATCUSTOMERPRICE cprice]</span><br>
			</div>
			<div class="col-md-9 col-sm-12 col-xs-12 product-details">
 [formatquantity sub]
			 <div class="row"></div>
		 [formatbutton sub]
			 <div class="comparelink-container">
		 [formathyperlinks sub]				
			 <div class="compare-link">
			 [formatcomparison sub]
			 </div>
			 <div>
			 [formatoverallrating sub]
				 [formatratinglinks sub]
			 </div>
			 </div>
		 <div class="productlinks"> 
			 <div class="">
 [add_polyvore]
 </div>
			 </div>
		 </div>
		 </div>
	 </div>
	 </div>
 </div>
 </div>
</div>

<div class="row mobile_view product-view product-list-row-view product-list-row-view">
 <div class="col-xs-12">
 <div class="product-row">	
	 <a href="[formatshopexdlink][add_websesslink]">
	 <div class="row random-prod">
		 <div class="col-xs-6 random-prod-img">
		 <div class="nailthumb">
			 [formatimage sub]
			</div>
		 </div>
		 <div class="col-xs-6 random-prod-info product-details">
		 <h4 class="global-font-color">[translate cname]</h4>
			<p>
			 [translate cdescription]
			</p>
$	 <span class="widget-prod-price global-font-color">[formatcustomerprice cprice]</span>
			 [formatquantity sub] <br/>
			 [formatbutton sub]
		 </div>
		</div>
	 </a>
	 <div class="row">
	 <div class="col-xs-12 featured-product-mobile-btn-wrapper">
		 <div class="compare-link">
 [formathyperlinks sub]
		 </div>
		 <div class="compare-link">
			[formatcomparison sub]
		 </div>
		 <div>
			[formatoverallrating sub]
			[formatratinglinks sub]
		 </div>
		 <div class="productlinks"> 
		 <div class="">
 [add_polyvore]
 </div>
		 </div>
		 <div class="featured-option">
$		 [formatproductoptions sub]
		 </div>
		</div>
	 </div>
	</div>
 </div>	
</div>

<div class="desktop_view product-view grid-list-row-view hide" style="">
 <div class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
 <div class="featured-prod-widget">
	 <div class="nailthumb">
	 [formatimage sub]
	 </div>
	 <div class="row product-details">
	 <div class="col-sm-12">
		 <h6 class="widget-product-title green-caption">[translate cname]</h6>
		</div>
		<div class="row"></div>
		<div class="col-sm-8">
$		 <span class="widget-prod-price green-caption green-caption">[FORMATCUSTOMERPRICE cprice]</span>
		</div>
		
	 </div>
	 <a href="[formatshopexdlink][add_websesslink]" class="submitbtn pull-left">
		<span class="fa fa-search"></span>
	 </a>
	</div>
 </div>
</div>

<div class="mobile_view product-view grid-list-row-view hide" style="">
 <div class="col-lg-4 col-md-6 col-sm-4 col-xs-6">
 <div class="featured-prod-widget">
	 <div class="row">
	 <div class="col-xs-12">
		 <a href="[formatshopexdlink][add_websesslink]">
		 <div class="row random-prod">
			 <div class="col-xs-12 random-prod-img">
			 <div class="nailthumb">
				 [formatimage sub]
				</div>
			 </div>
 <div class="col-xs-12 random-prod-info product-details">
			 <h4 class="global-font-color">[translate cname]</h4>
$	 <span class="widget-prod-price global-font-color">[formatcustomerprice cprice]</span>
				
			 </div>
			</div>
		 </a>
		</div>
	 </div>
	 <a href="[formatshopexdlink][add_websesslink]" class="submitbtn">
	 <span class="fa fa-search"></span>
	 </a>
	</div>
 </div>
</div>
<! IMPACT deleted 2 instances of [add_addthis] to stop display -->
Go to Top of Page

motonet
VP-CART New User

Spain
79 Posts

Posted - May 01 2015 :  12:54:11  Show Profile  Reply with Quote
Hi Sharon.

This seems to be tmp_productformat_order.tmp, no tmp_productformat.htm

Look at set up options

xproductdisplaytemplate

Tell me

Saludos
Diego


Go to Top of Page

Sharon
VP-CART Super User

357 Posts

Posted - May 01 2015 :  14:04:13  Show Profile  Visit Sharon's Homepage  Reply with Quote
quote:
Originally posted by motonet

Hi Sharon.

This seems to be tmp_productformat_order.tmp, no tmp_productformat.htm

Look at set up options

xproductdisplaytemplate

Tell me

Saludos
Diego






Yes you are right and that is what is set as the template by support to show the checkbox.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00