Post by firman88 » Tue Jul 24, 2012 2:31 pm

selamat pagi.
sya mau tnya donk, bagaimna merubah ukuran with Featured di .CSS agar bisa terbelah 3 bagian memanjang??...

Newbie

Posts

Joined
Tue Jul 24, 2012 2:29 pm

Post by gangsar.swapurba » Fri Oct 05, 2012 8:21 pm

Ngga tau ini thread kapan tau, tapi ada kok tutorialnya banyak.

Code: Select all

.bar
{
width:200px;
}

#left
{
float:left;
}

#right
{
float:right;
}

#center
{
margin-left:200px;
margin-right:200px;
}

#myText
{
width:80%;
margin:0 auto;
}

Code: Select all

<div>
  <div id="left" class="bar"></div>
  <div id="right" class="bar"></div>
  <div id="center">
    <div id="myText">text text</div>
  </div>
</div>

Blog Manager 2 - The Only Advanced Blog Extension for OpenCart 2.0 has coming!!!
Image


Blog Manager - The Only Advanced Blog Extension for OpenCart
Image


OpenCart Tips and Tutorials
Image


User avatar
Active Member

Posts

Joined
Tue Mar 20, 2012 8:39 am
Location - Indonesia

Post by novaip » Mon Dec 24, 2012 5:49 pm

Permisi agan-agan sekalian...
gini nih, saya udah coba buat module baru dan module nya sih udah berhasil di install tapi koq di halaman depan nya jadi muncul 3 kali ya module nya.. kayak gini..

Saya udah coba ubah code nya, tapi masih gak bisa bahkan error. Soalnya masih newbie juga di bagian coding.... ;D ???

Attachments

top product.png

Top Products - top product.png (177.6 KiB) Viewed 7233 times


Newbie

Posts

Joined
Tue Dec 11, 2012 4:21 pm

Post by gangsar.swapurba » Tue Dec 25, 2012 11:41 am

ya agak susah kalo gak bisa liat modulnya ...

bisa dari template modulnya ato dari yang lain

boleh liat template modulnya ...

Blog Manager 2 - The Only Advanced Blog Extension for OpenCart 2.0 has coming!!!
Image


Blog Manager - The Only Advanced Blog Extension for OpenCart
Image


OpenCart Tips and Tutorials
Image


User avatar
Active Member

Posts

Joined
Tue Mar 20, 2012 8:39 am
Location - Indonesia

Post by novaip » Tue Dec 25, 2012 8:14 pm

Ini code yang saya edit untuk bagian frontend nya gan...

file1 /catalog/language/bahasa_kita/module/top.php

Code: Select all

<?php
// Heading 
$_['heading_title'] = 'Top Products';

// Text
$_['text_reviews']  = 'Based on %s reviews.'; 
?>
file2 /catalog/view/template/module/top.tpl

Code: Select all

<div class="box">
  <div class="box-heading"><span><?php echo $heading_title; ?></span></div>
  <div class="box-content">
    <div class="box-product">
      <?php foreach ($products as $product) { ?>
      <div>
      
        <?php if ($product['thumb']) { ?>
        <div class="image"><a href="<?php echo $product['href']; ?>"><img src="<?php echo $product['thumb']; ?>" alt="<?php echo $product['name']; ?>" title="<?php echo $product['name']; ?>" /></a></div>
        <?php } ?>
        <div class="name"><a href="<?php echo $product['href']; ?>"><?php echo $product['name']; ?></a></div>
       
        
        <?php if ($product['price']) { ?>
        <div class="price">
          <?php if (!$product['special']) { ?>
          <?php echo $product['price']; ?>
          <?php } else { ?>
          <span class="price-old"><?php echo $product['price']; ?></span> <span class="price-new"><?php echo $product['special']; ?></span>
          <?php } ?>
        </div>
        <?php } ?> 
        <div class="abs">
        <!--<?php if ($product['rating']) { ?>
        <div class="rating"><img src="catalog/view/theme/ustore-color1/image/stars-<?php echo $product['rating']; ?>.png" alt="<?php echo $product['reviews']; ?>" /></div>
        <?php } ?>-->
        <div class="cart">
        <a onclick="addToCart('<?php echo $product['product_id']; ?>');" class="button1" title="Add to Cart"><span><?php echo $button_cart; ?></span></a>
        <a class="btn-detail ml10" title="Detail" href="<?php echo $product['href']; ?>"><span>Detail</span></a></div>        
        </div>
      </div>
      <?php } ?>
    </div>
  </div>
</div>
file3 /catalog/controller/module/top.php

Code: Select all

<?php
class ControllerModuleTop extends Controller {
	protected function index($setting) {
		$this->language->load('module/top'); 

      	$this->data['heading_title'] = $this->language->get('heading_title');
		
		$this->data['button_cart'] = $this->language->get('button_cart');
		
		$this->load->model('catalog/product'); 
		
		$this->load->model('tool/image');

		$this->data['products'] = array();

		$products = explode(',', $this->config->get('top_product'));		

		if (empty($setting['limit'])) {
			$setting['limit'] = 5;
		}
		
		$products = array_slice($products, 0, (int)$setting['limit']);
		
		foreach ($products as $product_id) {
			$product_info = $this->model_catalog_product->getProduct($product_id);
			
			if ($product_info) {
				if ($product_info['image']) {
					$image = $this->model_tool_image->resize($product_info['image'], $setting['image_width'], $setting['image_height']);
				} else {
					$image = false;
				}

				if (($this->config->get('config_customer_price') && $this->customer->isLogged()) || !$this->config->get('config_customer_price')) {
					$price = $this->currency->format($this->tax->calculate($product_info['price'], $product_info['tax_class_id'], $this->config->get('config_tax')));
				} else {
					$price = false;
				}
						
				if ((float)$product_info['special']) {
					$special = $this->currency->format($this->tax->calculate($product_info['special'], $product_info['tax_class_id'], $this->config->get('config_tax')));
				} else {
					$special = false;
				}
				
				if ($this->config->get('config_review_status')) {
					$rating = $product_info['rating'];
				} else {
					$rating = false;
				}
					
				$this->data['products'][] = array(
					'product_id' => $product_info['product_id'],
					'thumb'   	 => $image,
					'name'    	 => $product_info['name'],
					'price'   	 => $price,
					'special' 	 => $special,
					'rating'     => $rating,
					'reviews'    => sprintf($this->language->get('text_reviews'), (int)$product_info['reviews']),
					'href'    	 => $this->url->link('product/product', 'product_id=' . $product_info['product_id']),
				);
			}
		}

		if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/module/top.tpl')) {
			$this->template = $this->config->get('config_template') . '/template/module/top.tpl';
		} else {
			$this->template = 'default/template/module/top.tpl';
		}

		$this->render();
	}
}
?>
saya masih belum nemu bagian mana yang buat code nya jadi perulangan.. ??? :(

Newbie

Posts

Joined
Tue Dec 11, 2012 4:21 pm

Post by gangsar.swapurba » Wed Dec 26, 2012 12:09 am

kayaknya nggak ada masalah di kodenya.

mungkin di pengaturan modulnya itu, terpasang ada 3 modul yang sama di layout yang sama.

Blog Manager 2 - The Only Advanced Blog Extension for OpenCart 2.0 has coming!!!
Image


Blog Manager - The Only Advanced Blog Extension for OpenCart
Image


OpenCart Tips and Tutorials
Image


User avatar
Active Member

Posts

Joined
Tue Mar 20, 2012 8:39 am
Location - Indonesia

Post by novaip » Wed Dec 26, 2012 12:10 pm

iya gan, masalah di layout modulnya ternyata..
thanks ya gan...

oia gan, klo saya mau ubah tampilan footer jadi tampilan seperti ini, ini kumpulan dari modul juga ya gan... ???
footer.png

footer.png (179.43 KiB) Viewed 7198 times


Newbie

Posts

Joined
Tue Dec 11, 2012 4:21 pm

Post by gangsar.swapurba » Wed Dec 26, 2012 8:50 pm

iya gan, masalah di layout modulnya ternyata..
thanks ya gan...
sama-sama ... :)
oia gan, klo saya mau ubah tampilan footer jadi tampilan seperti ini, ini kumpulan dari modul juga ya gan...
kurang tau tuh,
bisa langsung edit file template footernya mungkin ... :)

Blog Manager 2 - The Only Advanced Blog Extension for OpenCart 2.0 has coming!!!
Image


Blog Manager - The Only Advanced Blog Extension for OpenCart
Image


OpenCart Tips and Tutorials
Image


User avatar
Active Member

Posts

Joined
Tue Mar 20, 2012 8:39 am
Location - Indonesia

Post by Vatoru » Thu Jul 04, 2013 11:00 am

kak, saya mau tanya. Saya orang baru yang ingin memperlajari oenchart.
kalau misalnya kita sudah megang openchart yang udah ada domainnya, jadi intinya kita tinggal make'.
ini tuh kalo misal ngganti banners kaya2 gitu2 dimana, soalnya ini saya nyoba2 tak ganti gambare gak mau. Mohon bantuannya :)

Newbie

Posts

Joined
Thu Jul 04, 2013 10:53 am

Post by jerycho » Sun Jul 28, 2013 8:38 pm

mohon bantuan..bagaimana cara hendak membuat modul bestseller dan special jenis slider..

New member

Posts

Joined
Thu Jul 25, 2013 11:26 am

Post by sans » Fri Aug 02, 2013 11:19 pm

jerycho wrote:mohon bantuan..bagaimana cara hendak membuat modul bestseller dan special jenis slider..
cuma dikasih carousel aja bisa sepertinya.

kaos jersey, jersey bola, baju bola, baju bola terbaru, baju bola murah


Active Member

Posts

Joined
Tue Dec 07, 2010 9:18 am

Post by jerycho » Sat Aug 03, 2013 10:56 pm

sans wrote:
jerycho wrote:mohon bantuan..bagaimana cara hendak membuat modul bestseller dan special jenis slider..
cuma dikasih carousel aja bisa sepertinya.

carousel tu bukannya untuk buat slider banner k..untuk buat slider bagi product bagamana caranya..boleh bantu..

New member

Posts

Joined
Thu Jul 25, 2013 11:26 am

Post by narumy » Sun May 25, 2014 11:20 pm

Numpang tanya gan ?

Gimana ya caranya supaya tampilan product bisa jadi rapi dan rata, terutama pada bagian "add to cart" atau "sold out"

Mungkin maksudnya spt gambar editan saya ini gan :
Modul-Combine.jpg

Kira-kira spt ini gan... - Modul-Combine.jpg (424.24 KiB) Viewed 4117 times

Gua pake OC : 1.5.5.1
Theme : euro 2012 (kalo gak salah)
Web : www.narumy-narumy.com

Mohon Bantu pencerahan ya gan

User avatar
Newbie

Posts

Joined
Sun May 25, 2014 10:00 pm

Post by SarahJeanette » Mon May 26, 2014 7:17 pm

narumy wrote:Numpang tanya gan ?

Gimana ya caranya supaya tampilan product bisa jadi rapi dan rata, terutama pada bagian "add to cart" atau "sold out"

Mungkin maksudnya spt gambar editan saya ini gan :

Gua pake OC : 1.5.5.1
Theme : euro 2012 (kalo gak salah)
Web : http://www.narumy-narumy.com

Mohon Bantu pencerahan ya gan
Just replied here:
http://forum.opencart.com/viewtopic.php ... 43#p498258

<trustme>there's no system 100% bugs free</trustme>


User avatar
New member

Posts

Joined
Tue Apr 10, 2012 11:16 am

Post by ocim » Thu Jun 26, 2014 1:04 pm

Mangstaphh tutorialnya master

berita terkini berita terbaru cara terbaru


Newbie

Posts

Joined
Thu Jun 26, 2014 1:01 pm


Post by originalcart » Mon Jul 07, 2014 11:34 am

Terima kasih tutorialnya mastah :)

jasa pembuatan toko online
other profile


New member

Posts

Joined
Wed Jul 02, 2014 12:32 pm


Post by gangsar.swapurba » Fri Jul 18, 2014 2:31 pm

ocim wrote:Mangstaphh tutorialnya master
saya ngga patut dibilang master
sama-sama
originalcart wrote:Terima kasih tutorialnya mastah :)
saya ngga pantas diberi gelar mastah
sama-sama

hanya ingin berbagi

Blog Manager 2 - The Only Advanced Blog Extension for OpenCart 2.0 has coming!!!
Image


Blog Manager - The Only Advanced Blog Extension for OpenCart
Image


OpenCart Tips and Tutorials
Image


User avatar
Active Member

Posts

Joined
Tue Mar 20, 2012 8:39 am
Location - Indonesia

Post by kumarn » Tue Oct 21, 2014 3:47 pm

Kalau cara membuat modul untuk memunculkan Meta Title pada website, ada kah?
Kalo ada, tolong dishare dong gan. Saya cari modul seperti itu ada sih, namun berbayar...

Get new collection of python shoes from Marnova in marnova.co.id


Newbie

Posts

Joined
Tue Oct 21, 2014 3:35 pm


Post by jakartawebhosting » Thu Dec 18, 2014 4:54 pm

makasiah master2 atas informasinya yang telah diberikan.
nice ;D ,,, semoga ini bermanfaat buat yang lainnya.
jangan bosen - bosen yah master buat bagi - bagi ilmunya buat kita semua. :crazy:

JakartaWebhosting.com Product: Shared Hosting | Reseller Hosting | Cloud Hosting | Dedicated Server | Domain Registration | Opencart Hosting


New member

Posts

Joined
Wed Oct 15, 2014 10:59 am

User avatar
Active Member

Posts

Joined
Tue Mar 20, 2012 8:39 am
Location - Indonesia
Who is online

Users browsing this forum: No registered users and 9 guests