If this is your first visit, check our documentation. To post, register or login.
Forums / Templates, Stylesheets, Page Layout / How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

Started by schobook on 17 Jan 2013, 2:12 PM · Views: 11,536

Results 1 to 10 of 10
17 Jan 2013, 2:12 PM
#1
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

First I would like to know how can I edit the Price and Qty in the product listing. I need to change the color and size of the Price. Then move the position of the Qty amount so that it lines up with the text box and the add to cart button. For the Qty I would like to have it say "In Stock:" right before the number.

http://www.schobookcollectibles.com/index.php?main_page=index&cPath=68_74

Second I am having trouble positioning the Product Details that show up in the Product Info page. Every time I move the Product Details that is located in "includes/templates/custom_template/templates/tpl_product_info_display.php" it moves below the "add to cart" even though I place it before it and sends the qty box and add to cart button flying in different directions.

I would like to to look like the pic on the right. The left is how it is now.

Attachment 11790

http://www.schobookcollectibles.com/index.php?main_page=product_info&cPath=68_74&products_id=1124

Thank you,

17 Jan 2013, 4:49 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

You would have to change the order of listing in a copy of the file file for your template
Do this first then a bit of css might be needed to position it

/includes/templates/template_default/templates/tpl_product_info_display.php

Zen-Venom Get Bitten

17 Jan 2013, 4:57 PM
#3
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

kobra:

You would have to change the order of listing in a copy of the file file for your template
Do this first then a bit of css might be needed to position it

/includes/templates/template_default/templates/tpl_product_info_display.php

I edited the file.

17 Jan 2013, 5:02 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

I edited the file.
But you have it placed after the add to cart entry???

Zen-Venom Get Bitten

17 Jan 2013, 5:05 PM
#5
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

Its placed before it. For some reason it goes under it.

17 Jan 2013, 5:14 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

In your templates stylesheet find this and add what is in red

#cartAdd }
	margin: 0em;
	padding: 0.5em;
        float: right;
        width: 200px;
	}

Zen-Venom Get Bitten

17 Jan 2013, 5:16 PM
#7
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

kobra:

In your templates stylesheet find this and add what is in red

#cartAdd }
margin: 0em;
padding: 0.5em;
float: right;
width: 200px;

}


Just did that but now its all down on the bottom.

Ok so I used a negative margin to get it moved up.

#productDetailsList {
	margin: 0em 0em 0em 44.6em;
	margin-top:-225px;
	font-weight: bold;
        list-style-type: none;
	}

Still need to get the qty text box and the cart in line again like before.
17 Jan 2013, 5:28 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

Find this

#productDetailsList {
	margin: 0em 0em 0em 44.5em;
	font-weight: bold;
        list-style-type: none;
	}

Edit it to this

#productDetailsList {
        width: 80px;
        margin: 10em 0em 0em 0em;
	font-weight: bold;
        list-style-type: none;
	}

Zen-Venom Get Bitten

17 Jan 2013, 5:32 PM
#9
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

kobra:

Find this

#productDetailsList {
margin: 0em 0em 0em 44.5em;
font-weight: bold;
list-style-type: none;
}

> Edit it to this
> ```
#productDetailsList {
        width: 80px;
        margin: 10em 0em 0em 0em;
	font-weight: bold;
        list-style-type: none;
	}

That made it worse. All I need to do now is get the text box and the add to cart button lined up like before.

Thanks,

18 Jan 2013, 12:02 AM
#10
schobook avatar

schobook

New Zenner

Join Date:
Jul 2012
Posts:
52
Plugin Contributions:
0

Re: How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?

Can anybody help me with this?

"I would like to know how can I edit the Price and Qty in the product listing. I need to change the color and size of the Price. Then move the position of the Qty amount so that it lines up with the text box and the add to cart button. For the Qty I would like to have it say "In Stock:" right before the number."

Thank you,