Forums / Templates, Stylesheets, Page Layout / Aloha Newbie wanna Swap some Divs in the PHP structure... Please Help

Aloha Newbie wanna Swap some Divs in the PHP structure... Please Help

Locked

Views: 706

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
10 Feb 2009, 10:34 AM
#1
leialoha avatar

leialoha

New Zenner

Join Date:
Feb 2009
Location:
Kilauea, Kauai - Hawaii
Posts:
21
Plugin Contributions:
0

Aloha Newbie wanna Swap some Divs in the PHP structure... Please Help

I am using the current 1.3.8 Cart, and I just playing everyday since a week with it. I have mostlyGrey template, thats all....

I am new to PHP:smartalec: and how it works, not to CSS/HTML and I wonder how to change the Order of appearance on the product page. I am happy that I got so far....

For beeing New I am Amazed that i get ZC so far, but I could not find a solution in the Wiki or so... Mostly find the answers... but note this one...

I would like to have the ADD TO CART after the Attributes so that the customer not forget about them....

I was abel to shift the divbox of the cart to the left with css - no problem, but know I wonder how I can modify the appearance.:laugh:

here is my shop page I wonder about

Here is a selected and from ZC-PHP created Source Code from that Page... So I guess that the different "bof's" are diffrent parts of PHP... And I would like to just:shocking: change the Order that <!--bof Add to Cart Box --> would come after <!--bof Attributes Module -->

<!--bof Add to Cart Box -->

                  <div id="cartAdd">
    Add to Cart: <input type="text" name="cart_quantity" value="1" maxlength="6" size="4" /><br /><br /><input type="hidden" name="products_id" value="2" /><input type="image" src="includes/templates/template_default/buttons/english/button_in_cart.gif" alt="Add to Cart" title=" Add to Cart " />          </div>
  <!--eof Add to Cart Box-->

<!--bof Product details list  -->
<ul id="productDetailsList" class="floatingBox back">
  
  
  <li>1000 Units in Stock</li>
  
</ul>
<br class="clearBoth" />

<!--eof Product details list -->

<!--bof Attributes Module -->
<div id="productAttributes">
<h3 id="attribsOptionsText">Please Choose: </h3>


<div class="wrapperAttribsOptions">
<!-- <h4 class="optionName back"></h4>-->
<div class="opmenu">
<select name="id[1]" id="attrib-1">
  <option value="1" selected="selected">Black Lines on White</option>
  <option value="2">White Lines on Black</option>

</select>

</div>
<br class="clearBoth" />
</div>

Mahalo & Thank for taking time reading my Question... Thankful for help, Links or telling me about my limitations in ZC

Greetz from Kauai, Leialoha

10 Feb 2009, 11:00 AM
#2
leialoha avatar

leialoha

New Zenner

Join Date:
Feb 2009
Location:
Kilauea, Kauai - Hawaii
Posts:
21
Plugin Contributions:
0

Re: Aloha Newbie wanna Swap some Divs in the PHP structure... Please Help

OK got it !!! Found it out... Sorry for Bothering... osmehow it helpt so ask for help... just wanted to go to bed and i got an idea... Thanks & Sorry for Bothering...

For anyone who is wondering the same....

I searched in the developer tool for the <!--bof Add to Cart Box -->
and found it in tpl_product_info_display.php so I downloaded it, changed the appearance (ccut & copy the Block) to where i wanted it and saved it in my "personal" template folder in a other folder called template.... and it works....:clap: